From 92018c725fc71c7e081a00774d40d4505991f397 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 17 Jul 2020 13:58:00 -0400 Subject: [PATCH] Fix ssdp python3 issue Attempt to use str to split bytes. --- confluent_server/confluent/discovery/protocols/ssdp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/ssdp.py b/confluent_server/confluent/discovery/protocols/ssdp.py index 841ce212..c5fe81c4 100644 --- a/confluent_server/confluent/discovery/protocols/ssdp.py +++ b/confluent_server/confluent/discovery/protocols/ssdp.py @@ -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':