demos being moved would cause file not found error leaving behind zip files on disk

This commit is contained in:
jenz 2022-04-23 12:05:22 +02:00
parent cabe87d92a
commit 3fc37089bd

View File

@ -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