Skip to content

Commit 65ade42

Browse files
committed
Fix warning message printing
1 parent f1c089f commit 65ade42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/running/command/runbms.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,10 @@ def run_N_ns(N, ns):
514514
if slice: # specified -s, we respect that first
515515
if N is not None:
516516
logging.warning(
517-
"You specified both N={} and -s {}, N is ignored.",
518-
N,
519-
",".join([str(s) for s in slice]),
517+
"You specified both N={} and -s {}, N is ignored.".format(
518+
N,
519+
",".join([str(s) for s in slice]),
520+
)
520521
)
521522
run_hfacs(slice)
522523
else:

0 commit comments

Comments
 (0)