mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-23 11:13:38 +00:00
Fix reading legacy autoProcessTV.cfg
This commit is contained in:
parent
d6af63c6e0
commit
5a22f2c166
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue