From 869ea1524bede723e721b29a2b86a3ca66d5536f Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 5 Aug 2010 13:16:31 +0200 Subject: config parser fix, UploadedTo premium working --- module/AccountManager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/AccountManager.py') 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 + -- cgit v1.2.3