summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/w1sensor/w1sensor.chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/python.d.plugin/w1sensor/w1sensor.chart.py')
-rw-r--r--collectors/python.d.plugin/w1sensor/w1sensor.chart.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/w1sensor/w1sensor.chart.py b/collectors/python.d.plugin/w1sensor/w1sensor.chart.py
index e50312fc5..c4f847bf0 100644
--- a/collectors/python.d.plugin/w1sensor/w1sensor.chart.py
+++ b/collectors/python.d.plugin/w1sensor/w1sensor.chart.py
@@ -5,6 +5,7 @@
import os
import re
+
from bases.FrameworkServices.SimpleService import SimpleService
# default module values (can be overridden per job in `config`)
@@ -40,6 +41,7 @@ THERM_FAMILY = {
class Service(SimpleService):
"""Provide netdata service for 1-Wire sensors"""
+
def __init__(self, configuration=None, name=None):
SimpleService.__init__(self, configuration=configuration, name=name)
self.order = ORDER