summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 21:18:34 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 21:18:34 +0200
commitbab94efdcfe9947c42e4d8f8cfeb48e2d921d93a (patch)
tree91ac8239d9494540126a9a822c89ecdcdda1b22d /module/plugins/Plugin.py
parentgregy's opera fix (diff)
downloadpyload-bab94efdcfe9947c42e4d8f8cfeb48e2d921d93a.tar.xz
order and priority preperations
multi home plugin some fixes
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 25323f6ed..549caba22 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -81,7 +81,7 @@ class Plugin(object):
self.ocr = None # captcha reader instance
self.account = pyfile.m.core.accountManager.getAccountPlugin(self.__name__) # account handler instance
- if not self.account.canUse(): self.account = None
+ if self.account and not self.account.canUse(): self.account = None
if self.account:
self.req = self.account.getAccountRequest(self)
else: