mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
parent
5a32d8a779
commit
079715bc18
@ -34,7 +34,7 @@ class ColouredFormatter(logging.Formatter):
|
|||||||
|
|
||||||
message = super().format(record)
|
message = super().format(record)
|
||||||
|
|
||||||
if not colour:
|
if not colour or sys.platform.startswith("win"):
|
||||||
return message.replace("#RESET#", "")
|
return message.replace("#RESET#", "")
|
||||||
|
|
||||||
level_no = record.levelno
|
level_no = record.levelno
|
||||||
|
Loading…
Reference in New Issue
Block a user