From 60c76728ce88f6defadc6dcb01240f00512a4a21 Mon Sep 17 00:00:00 2001 From: Dario Borreguero Rincon Date: Wed, 16 Oct 2024 14:41:34 +0200 Subject: [PATCH] #11 fixing linting issues --- src/sysdiagnose/utils/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysdiagnose/utils/logger.py b/src/sysdiagnose/utils/logger.py index 10c39b6..5593399 100644 --- a/src/sysdiagnose/utils/logger.py +++ b/src/sysdiagnose/utils/logger.py @@ -39,7 +39,7 @@ def get_json_handler(filename: str, level: int = logging.INFO) -> logging.FileHa ''' fmt_json = SysdiagnoseJsonFormatter( fmt='%(created)f %(asctime)s %(levelname)s %(module)s %(message)s', - rename_fields={'asctime': 'datetime', 'created' : 'timestamp'}) + rename_fields={'asctime': 'datetime', 'created': 'timestamp'}) # File handler fh = logging.FileHandler(filename) fh.setLevel(level)