Skip to content

Commit

Permalink
fix logger.flush
Browse files Browse the repository at this point in the history
  • Loading branch information
fishjojo committed Sep 30, 2024
1 parent 582ad3c commit 82e7a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscfad/lib/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pyscfad import util

def _partial_eval_msg(msg, args):
format_specifier = re.compile(r'%(?:\d+\$)?[+-]?(?:\d+)?(?:\.\d+)?[hlL]?[a-zA-Z]')
format_specifier = re.compile(r'%(?:\d+\$)?[#0\-+ ]?(?:\d+)?(?:\.\d+)?[hlL]?[a-zA-Z]')
matches = list(format_specifier.finditer(msg))
partially_evaluated_msg = ''
remaining_args = list(args)
Expand Down

0 comments on commit 82e7a12

Please sign in to comment.