From 520c46229de6099754b23d640f63f4b9606821b4 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Mon, 19 Sep 2016 23:27:17 +0200 Subject: [PATCH] Fix parsing configuration in SocketService --- python.d/python_modules/base.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.39.2