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:
parent
fd46bae24f
commit
92018c725f
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user