diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2016-11-23 15:49:10 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2016-11-23 15:49:10 +0000 |
commit | 87649cf32bd0e14d5a903fb85b01e9f41a253540 (patch) | |
tree | bbefda6dac074aeb87529592e8e5064f69cbe024 /python.d/python_modules | |
parent | Imported Upstream version 1.3.0+dfsg (diff) | |
download | netdata-87649cf32bd0e14d5a903fb85b01e9f41a253540.tar.xz netdata-87649cf32bd0e14d5a903fb85b01e9f41a253540.zip |
New upstream version 1.4.0+dfsgupstream/1.4.0+dfsg
Diffstat (limited to 'python.d/python_modules')
-rw-r--r-- | python.d/python_modules/base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py index c2bbed2a5..1508e0965 100644 --- a/python.d/python_modules/base.py +++ b/python.d/python_modules/base.py @@ -658,6 +658,7 @@ class SocketService(SimpleService): self.unix_socket = str(self.configuration['socket']) except (KeyError, TypeError): self.debug("No unix socket specified. Trying TCP/IP socket.") + self.unix_socket = None try: self.host = str(self.configuration['host']) except (KeyError, TypeError): @@ -673,6 +674,7 @@ class SocketService(SimpleService): self.request = self.request.encode() def check(self): + self._parse_config() return SimpleService.check(self) |