From 64066c642215bced03b095d63a0b1ec7decef898 Mon Sep 17 00:00:00 2001 From: Simone Karin Lehmann Date: Thu, 19 Mar 2026 11:47:08 +0100 Subject: [PATCH] fix DEBUG mode --- sleepproxyclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepproxyclient.py b/sleepproxyclient.py index 782ea1d..e96d323 100644 --- a/sleepproxyclient.py +++ b/sleepproxyclient.py @@ -459,7 +459,7 @@ def parse_arguments() -> argparse.Namespace: "format": "%(asctime)s spc[%(process)d] %(levelname)s %(filename)s[%(funcName)s:%(lineno)d] %(message)s", "datefmt": "%b %d %Y %H:%M:%S", } - if args.debug is not None: + if args.debug: logging_config["level"] = logging.DEBUG if args.logfile is not None: logging_config["filename"] = args.logfile