From 7387ccff35861e7b86b274e8cfd9a8d0f5a17384 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Wed, 7 Oct 2020 19:20:18 +0400 Subject: [PATCH] Fixed zn+ bug. Signed-off-by: Pavel Kirilin <win10@list.ru> --- src/run_modes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run_modes.rs b/src/run_modes.rs index ec956ce..3c41a41 100644 --- a/src/run_modes.rs +++ b/src/run_modes.rs @@ -53,7 +53,7 @@ fn prepare_command(conf: Config) -> AppResult<String> { .replace("{n}", format!("{}", index).as_str()) .replace("{n+}", format!("{}", index + 1).as_str()) .replace("{zn}", add_leading_zero(index).as_str()) - .replace("{zn+}", add_leading_zero(index).as_str())) + .replace("{zn+}", add_leading_zero(index + 1).as_str())) } pub fn play() -> AppResult<()> { -- GitLab