From: paulfantom Date: Mon, 19 Sep 2016 21:27:17 +0000 (+0200) Subject: Fix parsing configuration in SocketService X-Git-Tag: v1.4.0~41^2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=520c46229de6099754b23d640f63f4b9606821b4;hp=0bb1b998b58ca62480dcec7449f95d221ee28ad0;p=netdata.git Fix parsing configuration in SocketService --- diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py index 3827c070..1508e096 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):