Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
973988219f
commit
cb71f32b95
1 changed files with 0 additions and 2 deletions
|
|
@ -1166,8 +1166,6 @@ class SmartScanThing(Thing):
|
||||||
scan_zip.write(os.path.join(scan_folder, file), arcname=file)
|
scan_zip.write(os.path.join(scan_folder, file), arcname=file)
|
||||||
|
|
||||||
# Finally, zip the files skipped previously
|
# 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:
|
if final_version:
|
||||||
with zipfile.ZipFile(zip_fname, mode="a") as scan_zip:
|
with zipfile.ZipFile(zip_fname, mode="a") as scan_zip:
|
||||||
for file in files:
|
for file in files:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue