From 2d492e58810a5c0c1a52cee4837b3ca4697531a3 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 23 Jan 2011 22:02:16 +0100 Subject: FileSonic Premium --- module/plugins/AccountManager.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/plugins/AccountManager.py') 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(":") -- cgit v1.2.3