mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
log start and end
This commit is contained in:
@@ -190,6 +190,7 @@ def main() -> None:
|
||||
"""
|
||||
Main function to process images and generate a static image hosting website.
|
||||
"""
|
||||
logger.info("starting builder", extra={"version": VERSION})
|
||||
thumbnails: List[Tuple[str, str, str, bool]] = []
|
||||
|
||||
args = parse_arguments(VERSION)
|
||||
@@ -249,6 +250,7 @@ def main() -> None:
|
||||
pass
|
||||
finally:
|
||||
os.remove(lock_file)
|
||||
logger.info("finished builder", extra={"version": VERSION})
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user