zeroconf: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-10-07 10:35:58 -04:00
parent d25ddc954a
commit b4dfa5a4dd
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ class SSDPServer(asyncio.protocols.DatagramProtocol):
try: try:
parts = data.decode().split("\r\n\r\n", maxsplit=1) parts = data.decode().split("\r\n\r\n", maxsplit=1)
header = parts[0] header = parts[0]
except ValueError as e: except ValueError:
logging.exception("Data Decode Error") logging.exception("Data Decode Error")
return return
hlines = header.splitlines() hlines = header.splitlines()