summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Addon.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-09-17 23:13:34 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-16 17:40:14 +0100
commitb1a7f7c6beaaf80781d2cc791439a3ec3210174a (patch)
treed0fdfde75f403ee0be2a99bc67146d7c7fdefb7e /pyload/plugins/Addon.py
parentImproved start and stop methods (diff)
downloadpyload-b1a7f7c6beaaf80781d2cc791439a3ec3210174a.tar.xz
Renamed setInterval reset opt to recount
Diffstat (limited to 'pyload/plugins/Addon.py')
-rw-r--r--pyload/plugins/Addon.py4
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