Fix reading legacy autoProcessTV.cfg

This commit is contained in:
JackDandy 2023-02-15 01:59:47 +00:00
parent d6af63c6e0
commit 5a22f2c166
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 3.27.2 (2023-02-10 19:25:00 UTC)
### 3.27.3 (2023-02-15 02:00:00 UTC)
* Fix reading legacy autoProcessTV.cfg
### 3.27.2 (2023-02-10 19:25:00 UTC)
* Fix revert update
* Fix installations that don't have previously saved cleanup lock files

View file

@ -95,7 +95,7 @@ def process_files(dir_to_process, org_nzb_name=None, status=None):
def cfg_get(cfg, option):
try:
return cfg.get('SickGear', option)
except configparser.NoOptionError:
except (configparser.NoOptionError, configparser.NoSectionError):
return cfg.get('SickBeard', option)
# Replace default values with config_file values