diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-05 21:18:34 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-05 21:18:34 +0200 |
commit | bab94efdcfe9947c42e4d8f8cfeb48e2d921d93a (patch) | |
tree | 91ac8239d9494540126a9a822c89ecdcdda1b22d /module/plugins/Plugin.py | |
parent | gregy's opera fix (diff) | |
download | pyload-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.py | 2 |
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: |