2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-26 19:10:30 +00:00

Fix ssdp python3 issue

Attempt to use str to split bytes.
This commit is contained in:
Jarrod Johnson 2020-07-17 13:58:00 -04:00
parent fd46bae24f
commit 92018c725f

View File

@ -309,7 +309,7 @@ def _parse_ssdp(peer, rsp, peerdata):
for headline in headlines[1:]:
if not headline:
continue
header, _, value = headline.partition(':')
header, _, value = headline.partition(b':')
header = header.strip()
value = value.strip()
if header == 'AL' or header == 'LOCATION':