From 2a6c8734e7e6021519921ee3d417f34a5051a9b3 Mon Sep 17 00:00:00 2001 From: George Pantelakis Date: Fri, 20 Sep 2024 12:37:42 +0200 Subject: [PATCH] SCAutolib/__init__.py: fix on format variable --- SCAutolib/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SCAutolib/__init__.py b/SCAutolib/__init__.py index f6f286a..de03578 100644 --- a/SCAutolib/__init__.py +++ b/SCAutolib/__init__.py @@ -7,8 +7,8 @@ from SCAutolib.enums import CardType, UserType -fmt = {"%(asctime)s %(name)s:%(module)s.%(funcName)s.%(lineno)d " - "[%(levelname)s] %(message)s"} +fmt = ("%(asctime)s %(name)s:%(module)s.%(funcName)s.%(lineno)d " + "[%(levelname)s] %(message)s") date_fmt = "%H:%M:%S" coloredlogs.install(level="DEBUG", fmt=fmt, datefmt=date_fmt, field_styles={'levelname': {'bold': True, 'color': 'blue'},