mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 19:28:07 +00: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):
|
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 0
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user