update to use Mylar api. Fixes #1374

This commit is contained in:
clinton-hall 2018-09-21 08:29:56 +12:00
commit 93b4fbf0e1
5 changed files with 25 additions and 25 deletions

View file

@ -157,7 +157,7 @@ class ConfigObj(configobj.ConfigObj, Section):
if option == ['outputDirectory']:
CFG_NEW['Torrent'][option] = os.path.split(os.path.normpath(value))[0]
values.pop(option)
if section in ['CouchPotato', 'HeadPhones', 'Gamez']:
if section in ['CouchPotato', 'HeadPhones', 'Gamez', 'Mylar']:
if option in ['username', 'password']:
values.pop(option)
if section in ["SickBeard", "Mylar"]: