mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-17 09:14:52 +02:00
Fix bug when binding on address already in use.
This commit is contained in:
parent
edb20482c7
commit
b1b3338e3c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user