mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
structly validation
This commit is contained in:
@@ -138,7 +138,7 @@ class Storage:
|
||||
|
||||
def __filter(self, items: list[str]) -> Generator[str, None, None]:
|
||||
for item in sorted(map(str.strip, items)):
|
||||
if not item.startswith(".__") and item != "lost+found":
|
||||
if not item.startswith(".") and item != "lost+found":
|
||||
yield item
|
||||
|
||||
def get_image_by_name(self, name: str) -> Image:
|
||||
|
||||
Reference in New Issue
Block a user