SABnzbd-Suite: fix configobj error on couchpotatoserver startup

This commit is contained in:
Stefan Saraev 2012-06-17 18:00:12 +03:00
parent 264e635334
commit 119184aa3d

View File

@ -345,6 +345,8 @@ md5pwd = hashlib.md5(pwd).hexdigest()
couchPotatoServerConfig = ConfigObj(pCouchPotatoServerSettings,create_empty=True)
defaultConfig = ConfigObj()
defaultConfig['newznab'] = {}
defaultConfig['newznab']['api_key'] = ''
defaultConfig['core'] = {}
defaultConfig['core']['username'] = user
defaultConfig['core']['password'] = md5pwd