summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-06 22:29:36 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-06 22:29:36 +0200
commitf12492551cc53eb56c1d02e05bb4678316b4b884 (patch)
treeff05620da0e8eec007261cbdc0e89f1bbb121323
parentfreakshare premium, closed #146, closed #147 (diff)
downloadpyload-f12492551cc53eb56c1d02e05bb4678316b4b884.tar.xz
account config fix
-rw-r--r--module/AccountManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/AccountManager.py b/module/AccountManager.py
index c155edfae..6f2d9c186 100644
--- a/module/AccountManager.py
+++ b/module/AccountManager.py
@@ -103,7 +103,7 @@ class AccountManager():
elif line.startswith("@"):
option = line[1:].split()
- self.accounts[plugin][name]["options"][option[0]] = True if len(option) < 2 else ([option[1]] if len(option) < 3 else option[1:])
+ self.accounts[plugin][name]["options"][option[0]] = [] if len(option) < 2 else ([option[1]] if len(option) < 3 else option[1:])
elif ":" in line:
name, sep, pw = line.partition(":")