From b1b3338e3cddb7e990df478068c535fab5a4528a Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 28 Apr 2021 15:13:31 +0930 Subject: [PATCH] Fix bug when binding on address already in use. --- gns3server/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/logger.py b/gns3server/logger.py index 592d9ada..74cd2093 100644 --- a/gns3server/logger.py +++ b/gns3server/logger.py @@ -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