structly validation

This commit is contained in:
Maxim Devaev
2023-03-06 04:18:38 +02:00
parent 5495f70564
commit 7667834b6d
5 changed files with 21 additions and 31 deletions

View File

@@ -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: