1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix bug when binding on address already in use.

This commit is contained in:
grossmj 2021-04-28 15:13:31 +09:30
parent edb20482c7
commit b1b3338e3c

View File

@ -111,7 +111,7 @@ class LogFilter:
"""
def filter(record):
if "/settings" in record.msg and "200" in record.msg:
if isinstance(record.msg, str) and "/settings" in record.msg and "200" in record.msg:
return 0
return 1