summaryrefslogtreecommitdiffstats
path: root/python.d/python_modules/base.py
diff options
context:
space:
mode:
authorRomain Dartigues <romain.dartigues@gmail.com>2016-10-09 18:02:31 +0200
committerRomain Dartigues <romain.dartigues@gmail.com>2016-10-09 18:02:31 +0200
commit6f532b8450aa8f3f934156e9d7e758befb074f95 (patch)
tree38dd58283ff424780f09af18d73e0f31fcfbf779 /python.d/python_modules/base.py
parent6d4d47c6737bc7ea953e8059d509b8a65a7d42b5 (diff)
plugin: ignore encoding errors (hddtemp related)
Diffstat (limited to 'python.d/python_modules/base.py')
-rw-r--r--python.d/python_modules/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py
index c2bbed2a57..44c7dea3af 100644
--- a/python.d/python_modules/base.py
+++ b/python.d/python_modules/base.py
@@ -608,7 +608,7 @@ class SocketService(SimpleService):
buf = self._sock.recv(4096)
if len(buf) == 0 or buf is None: # handle server disconnect
break
- data += buf.decode()
+ data += buf.decode(errors='ignore')
if self._check_raw_data(data):
break
else: