summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:52:24 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 13:52:24 +0200
commit23a78c13c0176cc9db27135bc3620170f514a95f (patch)
treeca827b97d282d20c3bd509a008a1fa1213c1f472 /module/plugins/Plugin.py
parentconfig parser fix, UploadedTo premium working (diff)
downloadpyload-23a78c13c0176cc9db27135bc3620170f514a95f.tar.xz
RapidshareCom premium
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index a6ea7dee7..25323f6ed 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -81,6 +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:
self.req = self.account.getAccountRequest(self)
else: