From ea6cf3e054f9956f70100ba4fccde5b9006804a1 Mon Sep 17 00:00:00 2001 From: fishjojo Date: Mon, 11 Nov 2024 12:26:21 -0800 Subject: [PATCH] fix logger.flush --- pyscfad/lib/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyscfad/lib/logger.py b/pyscfad/lib/logger.py index a7b71df4..22a7e6c7 100644 --- a/pyscfad/lib/logger.py +++ b/pyscfad/lib/logger.py @@ -21,7 +21,7 @@ def _partial_eval_msg(msg, args): if remaining_args: arg = remaining_args.pop(0) if not util.is_tracer(arg): - partially_evaluated_msg += spec % arg + partially_evaluated_msg += spec % (arg,) else: partially_evaluated_msg += spec tracer_args.append(arg)