mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 15:54:26 +00:00
Fixed unhandled FileNotFoundError during restore process
This commit is contained in:
parent
990448b06e
commit
d758c53b41
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue