summaryrefslogtreecommitdiffstats
path: root/module/AccountManager.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:16:31 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:16:31 +0200
commit869ea1524bede723e721b29a2b86a3ca66d5536f (patch)
tree82fa33395df09d1baedb379e9a833c880fd1159a /module/AccountManager.py
parentfile version check, delete old configs! (diff)
downloadpyload-869ea1524bede723e721b29a2b86a3ca66d5536f.tar.xz
config parser fix, UploadedTo premium working
Diffstat (limited to 'module/AccountManager.py')
-rw-r--r--module/AccountManager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/AccountManager.py b/module/AccountManager.py
index fd2d4c853..391c8e775 100644
--- a/module/AccountManager.py
+++ b/module/AccountManager.py
@@ -66,6 +66,7 @@ class AccountManager():
if not line: continue
if line.startswith("#"): continue
+ if line.startswith("version"): continue
if line.endswith(":"):
plugin = line[:-1]
@@ -77,7 +78,7 @@ class AccountManager():
elif ":" in line:
name, pw = line.split(":")[:]
- self.accounts[plugin][name] = {"pw": pw, "options": []}
+ self.accounts[plugin][name] = {"password": pw, "options": []}
@@ -91,4 +92,4 @@ class AccountManager():
"""init names"""
for name in self.core.pluginManager.getAccountPlugins():
self.accounts[name] = {}
- \ No newline at end of file
+