diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-27 19:41:03 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-27 19:41:03 +0200 |
commit | cf8fea4179a673ffe2ec50de3a5d948a61f849aa (patch) | |
tree | a24f3be129904f22836b8caa7fdca33cf0d7547a /module/plugins/Plugin.py | |
parent | DepositFiles lang fix (diff) | |
download | pyload-cf8fea4179a673ffe2ec50de3a5d948a61f849aa.tar.xz |
Shareonline, zshare fix, testing __slots__ attribute
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 68fb6f8be..9caf4d81a 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -244,7 +244,7 @@ class Plugin(object): :param wait_time: time to wait in seconds :param reason: reason for retrying, will be passed to fail if max_tries reached """ - if self.retries >= max_tries: + if max_tries and self.retries >= max_tries: if not reason: reason = "Max retries reached" raise Fail(reason) |