summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-31 20:34:34 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-31 20:34:34 +0200
commit3992d6c3819681c7a97a7e888a35cea5219c7bc5 (patch)
tree86035c9faadde0da7283b79b1739ffb1eada6b9e /module/plugins/Plugin.py
parentfixes new debug reports, bad header detection (diff)
downloadpyload-3992d6c3819681c7a97a7e888a35cea5219c7bc5.tar.xz
unlimited retries for MU
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 1e0f15b33..2ecd3215c 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -258,7 +258,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 max_tries and self.retries >= max_tries:
+ if max_tries > 0 and self.retries >= max_tries:
if not reason: reason = "Max retries reached"
raise Fail(reason)