Merge branch 'main' into dev

This commit is contained in:
JackDandy 2023-02-15 02:02:34 +00:00
commit 1d45a655dc
2 changed files with 6 additions and 1 deletions

View file

@ -4,6 +4,11 @@
* Change requirements for pure py3 * Change requirements for pure py3
### 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) ### 3.27.2 (2023-02-10 19:25:00 UTC)
* Fix revert update * Fix revert update

View file

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