From bab94efdcfe9947c42e4d8f8cfeb48e2d921d93a Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 5 Aug 2010 21:18:34 +0200 Subject: order and priority preperations multi home plugin some fixes --- module/plugins/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/Plugin.py') 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: -- cgit v1.2.3