Readd zip name

This commit is contained in:
Joe Knapper 2024-02-20 12:22:06 +00:00
parent bba0ab1853
commit eafeaca3ff

View file

@ -1057,6 +1057,8 @@ class SmartScanThing(Thing):
raise FileNotFoundError(f"Tried to make a zip archive of {images_folder} but it does not exist.")
# logger.info("Creating zip archive of images (may take some time)...")
zip_fname = f'{os.path.join(scan_folder, "images")}.zip'
# Create an empty zip file - we don't want to autofill it with files,
# as some of them should only be added at the end (as we can't overwrite)
# them once they change