Ignore exceptions on removing db_backup stuff
This commit is contained in:
1 parent
c7ce18f8c2
commit
ca13107330
1 file changed
+2
-1
@@ -116,7 +116,8 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
|
|||||||
|
|
||||||
# Delete non zip files
|
# Delete non zip files
|
||||||
if len(ints) != 1:
|
if len(ints) != 1:
|
||||||
os.remove(os.path.join(root, backup_file))
|
try: os.remove(os.path.join(root, backup_file))
|
||||||
|
except: pass
|
||||||
else:
|
else:
|
||||||
existing_backups.append((int(ints[0]), backup_file))
|
existing_backups.append((int(ints[0]), backup_file))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user