Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Joe Knapper 2025-05-08 17:44:42 +00:00
parent 973988219f
commit cb71f32b95

View file

@ -1166,8 +1166,6 @@ class SmartScanThing(Thing):
scan_zip.write(os.path.join(scan_folder, file), arcname=file)
# Finally, zip the files skipped previously
# TODO: if you download multiple times, you get duplicate files - is this a problem?
# TODO: check if they're already in based on file name and size
if final_version:
with zipfile.ZipFile(zip_fname, mode="a") as scan_zip:
for file in files: