home · contact · privacy
Fix broken filename iteration.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 23 Aug 2024 19:17:34 +0000 (21:17 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 23 Aug 2024 19:17:34 +0000 (21:17 +0200)
stable.py

index 71320d2dbb1926c056ab9d65a9add13ee2e13cc4..241783ff16369b6e2eae94a9f5fa571a7d6cff8f 100755 (executable)
--- 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,