summaryrefslogtreecommitdiffstats
path: root/module/AccountManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-06 22:24:17 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-06 22:24:17 +0200
commitcac52bbf8b0e928a83a29b744bff20240c8e7354 (patch)
treeb53689d1269f95dfda758879e7206d1c20cb5012 /module/AccountManager.py
parentclosed #147 (diff)
downloadpyload-cac52bbf8b0e928a83a29b744bff20240c8e7354.tar.xz
freakshare premium, closed #146, closed #147
Diffstat (limited to 'module/AccountManager.py')
-rw-r--r--module/AccountManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/AccountManager.py b/module/AccountManager.py
index 5dedacf3c..c155edfae 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]] = [option[1]] if len(option) < 3 else option[1:]
+ self.accounts[plugin][name]["options"][option[0]] = True if len(option) < 2 else ([option[1]] if len(option) < 3 else option[1:])
elif ":" in line:
name, sep, pw = line.partition(":")