1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Fix for migrating to new newznab provider config format

This commit is contained in:
echel0n 2014-08-28 22:30:30 -07:00
parent 18efdb2370
commit ae5644ba91

View File

@ -115,7 +115,11 @@ def makeNewznabProvider(configString):
try: try:
name, url, key, catIDs, enabled, search_mode, search_fallback, enable_daily, enable_backlog = configString.split( name, url, key, catIDs, enabled, search_mode, search_fallback, enable_daily, enable_backlog = configString.split(
'|') '|')
except ValueError, e: except ValueError:
try:
name, url, key, catIDs, enabled, search_mode, search_fallback, enable_backlog = configString.split(
'|')
except ValueError:
try: try:
name, url, key, catIDs, enabled = configString.split('|') name, url, key, catIDs, enabled = configString.split('|')
except ValueError: except ValueError: