Fix python 3 compatibility in statsd

Change-Id: I7e0ba155e209960edee7df3b4c7d248896cf3d5b
This commit is contained in:
Dobroslaw Zybort 2019-09-24 09:26:51 +02:00
parent ea9f2ebc15
commit 7f36745b69
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class Server(object):
return dimensions
def submit_packets(self, packets):
for packet in packets.split("\n"):
for packet in packets.split(b"\n"):
if not packet.strip():
continue