Skip to content

Commit

Permalink
Fixed upgrade process that was broken since Apprise 1.8.0 update. #2497
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed May 24, 2024
1 parent 0753428 commit 3e929d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bazarr/app/check_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ def update_cleaner(zipfile, bazarr_dir, config_dir):
dir_to_ignore_regex = re.compile(dir_to_ignore_regex_string)

file_to_ignore = ['nssm.exe', '7za.exe', 'unins000.exe', 'unins000.dat']
# prevent deletion of leftover Apprise.py/pyi files after 1.8.0 version that caused issue on case-insensitive
# filesystem. This could be removed in a couple of major versions.
file_to_ignore += ['Apprise.py', 'Apprise.pyi', 'apprise.py', 'apprise.pyi']
logging.debug(f'BAZARR upgrade leftover cleaner will ignore those files: {", ".join(file_to_ignore)}')
extension_to_ignore = ['.pyc']
logging.debug(
Expand Down

0 comments on commit 3e929d8

Please sign in to comment.