diff options
author | morpheus65535 <[email protected]> | 2024-01-26 11:09:50 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-26 11:09:50 -0500 |
commit | d758c53b412ab8bcd5927beba13ff5a56b266c17 (patch) | |
tree | 250011a0edc0049f119502c7cf5bed9804f3fb44 | |
parent | 990448b06e6df9f2728d98a9a14df5f2b378b00a (diff) | |
download | bazarr-d758c53b412ab8bcd5927beba13ff5a56b266c17.tar.gz bazarr-d758c53b412ab8bcd5927beba13ff5a56b266c17.zip |
Fixed unhandled FileNotFoundError during restore processv1.4.1-beta.19
-rw-r--r-- | bazarr/utilities/backup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bazarr/utilities/backup.py b/bazarr/utilities/backup.py index 314200a02..8088a50a2 100644 --- a/bazarr/utilities/backup.py +++ b/bazarr/utilities/backup.py @@ -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}') |