add: hashtag to album page to go directly on the picture you clicked
This commit is contained in:
@ -26,9 +26,11 @@ def scan_pages(folders: list[Path]) -> list[Page]:
|
||||
page: Page = Page(folder, folder.get_name(), prev=prev)
|
||||
|
||||
raw: Path = Path(folder, folder.get_name() + ".NEF")
|
||||
id: int = 0
|
||||
for file in files:
|
||||
if file.get_name().endswith(".png"):
|
||||
page.add_picture(Picture(file, page=page, raw=raw))
|
||||
page.add_picture(Picture(file, id, page=page, raw=raw))
|
||||
id += 1
|
||||
|
||||
if len(page.get_pictures()) == 0:
|
||||
bar.next()
|
||||
|
Reference in New Issue
Block a user