1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-26 01:26:50 +00:00

FIX:(#723) if nzb.su was enabled, provider_order would return a null value

This commit is contained in:
evilhero 2014-06-01 03:35:18 -04:00
parent b20449803d
commit 1fa44a7121

View file

@ -580,7 +580,7 @@ def initialize():
NZBSU_UID = check_setting_str(CFG, 'NZBsu', 'nzbsu_uid', '') NZBSU_UID = check_setting_str(CFG, 'NZBsu', 'nzbsu_uid', '')
NZBSU_APIKEY = check_setting_str(CFG, 'NZBsu', 'nzbsu_apikey', '') NZBSU_APIKEY = check_setting_str(CFG, 'NZBsu', 'nzbsu_apikey', '')
if NZBSU: if NZBSU:
PR.append('nzbsu') PR.append('nzb.su')
PR_NUM +=1 PR_NUM +=1
DOGNZB = bool(check_setting_int(CFG, 'DOGnzb', 'dognzb', 0)) DOGNZB = bool(check_setting_int(CFG, 'DOGnzb', 'dognzb', 0))