mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Fix bug when binding on address already in use.
This commit is contained in:
1 parent
edb20482c7
commit
b1b3338e3c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user