diff --git a/CHANGES.md b/CHANGES.md index b2ee095e..f25b3879 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,11 @@ * 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) * Fix revert update diff --git a/autoProcessTV/autoProcessTV.py b/autoProcessTV/autoProcessTV.py index 06095b9f..cddddfc7 100755 --- a/autoProcessTV/autoProcessTV.py +++ b/autoProcessTV/autoProcessTV.py @@ -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