demos being moved would cause file not found error leaving behind zip files on disk
This commit is contained in:
parent
cabe87d92a
commit
3fc37089bd
@ -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