]> arthur.barton.de Git - netdata.git/commitdiff
fixed debug interval
authorpaulfantom <paulfantom@gmail.com>
Sat, 18 Jun 2016 11:55:34 +0000 (13:55 +0200)
committerpaulfantom <paulfantom@gmail.com>
Sat, 18 Jun 2016 11:55:34 +0000 (13:55 +0200)
plugins.d/python.d.plugin

index dd39cea5f20e71010d12ec47f90e4583f7cd35ef..418ea91263ca5a2ad9ae0f969972ee41b5328016 100755 (executable)
@@ -45,9 +45,7 @@ class PythonCharts(object):
 
         # good economy and prosperity:
         self.jobs = self._create_jobs(configured_modules)
-        if DEBUG_FLAG:
-            if interval is None:
-                interval = 1
+        if DEBUG_FLAG and interval is not None:
             for job in self.jobs:
                 job._create_timetable(interval)