# Users also need to open a query with the bot (see below).
# note: multiple recipients can be given like this:
-# "CHAT_ID_1 CHAT_ID_1 ..."
+# "CHAT_ID_1 CHAT_ID_2 ..."
# enable/disable sending telegram messages
SEND_TELEGRAM="YES"
#
# Additionally to the above, redis also supports the following:
#
-# socket: 'path/to/mysql.sock'
+# socket: 'path/to/redis.sock'
#
# or
# host: 'IP or HOSTNAME' # the host to connect to
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: