fix disabling everything
paulfantom committed
Jun 21, 2016 at 14:02 UTC
2cf209ce44ea7ad7bc8dfa7ce8ff17c1207e2c1c
1 file changed
+1
-1
plugins.d/python.d.plugin
+1
-1
@@ -532,7 +532,7 @@ def run():
532
if conf is not None:
533
try:
534
# exit the whole plugin when 'enabled: no' is set in 'python.d.conf'
535
- if str(conf['enabled']) is False:
535
+ if conf['enabled'] is False:
536
fatal('disabled in configuration file.\n')
537
except (KeyError, TypeError):
538
pass