diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-23 22:02:16 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-23 22:02:16 +0100 |
commit | 2d492e58810a5c0c1a52cee4837b3ca4697531a3 (patch) | |
tree | a7dc1b9421f708cbfd3efe375f9f6670a783f030 /module/plugins/AccountManager.py | |
parent | added missing curl.close (diff) | |
download | pyload-2d492e58810a5c0c1a52cee4837b3ca4697531a3.tar.xz |
FileSonic Premium
Diffstat (limited to 'module/plugins/AccountManager.py')
-rw-r--r-- | module/plugins/AccountManager.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/AccountManager.py b/module/plugins/AccountManager.py index ab35334fc..d0955ecee 100644 --- a/module/plugins/AccountManager.py +++ b/module/plugins/AccountManager.py @@ -101,8 +101,11 @@ class AccountManager(): self.accounts[plugin] = {} elif line.startswith("@"): - option = line[1:].split() - self.accounts[plugin][name]["options"][option[0]] = [] if len(option) < 2 else ([option[1]] if len(option) < 3 else option[1:]) + try: + option = line[1:].split() + self.accounts[plugin][name]["options"][option[0]] = [] if len(option) < 2 else ([option[1]] if len(option) < 3 else option[1:]) + except: + pass elif ":" in line: name, sep, pw = line.partition(":") |