Fixed unhandled FileNotFoundError during restore process

pull/2369/head v1.4.1-beta.19
morpheus65535 3 months ago committed by GitHub
parent 990448b06e
commit d758c53b41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -151,6 +151,8 @@ def restore_from_backup():
try:
os.remove(restore_config_path)
except FileNotFoundError:
pass
except OSError:
logging.exception(f'Unable to delete {dest_config_path}')

Loading…
Cancel
Save