diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-04 14:48:16 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-04 14:48:16 +0200 |
commit | dbc8882221eaca029994ec6c4483ab157cae9c11 (patch) | |
tree | bd897a4d5ec075536cfdbeec487b1b6286a438e7 /module/plugins/Plugin.py | |
parent | closed #142 (diff) | |
download | pyload-dbc8882221eaca029994ec6c4483ab157cae9c11.tar.xz |
closed #116
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index e34543100..04df13978 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -136,8 +136,10 @@ class Plugin(object): raise NotImplementedError def resetAccount(self): + """ dont use account and retry download """ self.account = None self.req = self.core.requestFactory.getRequest(self.__name__) + self.retry() def checksum(self, local_file=None): """ @@ -343,9 +345,3 @@ class Plugin(object): if delete: remove(self.lastDownload) return name - - def resetAccount(self): - """ invalidates an account, so it will not be used """ - if self.account: - data = self.account.getAccountData(self.user) - data["valid"] = False |