From: Christian Heller Date: Fri, 23 Aug 2024 19:17:34 +0000 (+0200) Subject: Fix broken filename iteration. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/balance2?a=commitdiff_plain;h=2b346a0fcd2dcb6b09806bf2cb1fab7b096f8c6b;p=stable_plom Fix broken filename iteration. --- diff --git a/stable.py b/stable.py index 71320d2..241783f 100755 --- a/stable.py +++ b/stable.py @@ -99,7 +99,7 @@ def parse_args(): def run(): def save_path(count: int) -> str: - n_iterations = len(args.gen_paramses) + n_iterations = len(args.gen_paramses) * args.quantity filename_count = f'_{count:08}' if n_iterations > 1 else '' # pylint: disable=possibly-used-before-assignment return path_join(dir_path,