demos being moved would cause file not found error leaving behind zip files on disk
This commit is contained in:
parent
23ecc0db5b
commit
0924af11c2
@ -28,7 +28,7 @@ class local_dir_remote:
|
||||
if '/maps' in str(files):
|
||||
continue
|
||||
file_list.append(files)
|
||||
except PermissionError:
|
||||
except Exception:
|
||||
continue
|
||||
return file_list
|
||||
|
||||
@ -39,7 +39,7 @@ class local_dir_remote:
|
||||
for files in source_files:
|
||||
try:
|
||||
myzip.write(files)
|
||||
except PermissionError:
|
||||
except Exception:
|
||||
continue
|
||||
return str(Path.cwd()) + '/' + zipname
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user