fixed debug interval
paulfantom committed
Jun 18, 2016 at 13:55 UTC
084c750a27bcde4cfdf426b95197de7e70f11fb2
1 file changed
+1
-3
plugins.d/python.d.plugin
+1
-3
@@ -45,9 +45,7 @@ class PythonCharts(object):
45
46
# good economy and prosperity:
47
self.jobs = self._create_jobs(configured_modules)
48
- if DEBUG_FLAG:
49
- if interval is None:
50
- interval = 1
48
+ if DEBUG_FLAG and interval is not None:
49
for job in self.jobs:
50
job._create_timetable(interval)
51