From 4f85ba108b5dfb949816b69ef3fd837cb59cb9d4 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 10 Aug 2013 19:51:04 +0200 Subject: fix updateFileInfo and account selection --- pyload/AccountManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyload/AccountManager.py') diff --git a/pyload/AccountManager.py b/pyload/AccountManager.py index 1c409b754..814c08615 100644 --- a/pyload/AccountManager.py +++ b/pyload/AccountManager.py @@ -128,7 +128,8 @@ class AccountManager: """ Determines suitable plugins and select one """ if plugin in self.accounts: uid = user.true_primary if user else None - accs = [x for x in self.accounts[plugin] if x.isUsable() and (x.shared or x.owner == uid)] + # TODO: temporary allowed None user + accs = [x for x in self.accounts[plugin] if x.isUsable() and (x.shared or uid is None or x.owner == uid)] if accs: return choice(accs) @lock -- cgit v1.2.3