diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-09-17 23:13:34 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2013-11-16 17:40:14 +0100 |
commit | b1a7f7c6beaaf80781d2cc791439a3ec3210174a (patch) | |
tree | d0fdfde75f403ee0be2a99bc67146d7c7fdefb7e /pyload/plugins/Addon.py | |
parent | Improved start and stop methods (diff) | |
download | pyload-b1a7f7c6beaaf80781d2cc791439a3ec3210174a.tar.xz |
Renamed setInterval reset opt to recount
Diffstat (limited to 'pyload/plugins/Addon.py')
-rw-r--r-- | pyload/plugins/Addon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/Addon.py b/pyload/plugins/Addon.py index be317eb0d..69280ca7e 100644 --- a/pyload/plugins/Addon.py +++ b/pyload/plugins/Addon.py @@ -120,9 +120,9 @@ class Addon(Base): return True return False - def setInterval(self, interval, reset=False): + def setInterval(self, interval, recount=False): if interval > 0: - if reset: + if recount: return self.stopPeriodical() and self.startPeriodical(interval) else: self.interval = interval |