home · contact · privacy
Fix templating bug.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 26 Aug 2024 12:03:23 +0000 (14:03 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 26 Aug 2024 12:03:23 +0000 (14:03 +0200)
stable.py

index 484ac6e927ef72d164ffbbdbe123191b5cd24e2a..e739d367a63db0e6667434943c82070f3d1e9a62 100755 (executable)
--- a/stable.py
+++ b/stable.py
@@ -151,8 +151,8 @@ def run():
             until_now = datetime.now() - start_time
             until_end = ((until_now / index) * total) - until_now
             print(f'GENERATING {index}/{total} '
-                  f'(time so far: {until_now[:-7]} / '
-                  f'estimated time left: {until_end[:-7]}): '
+                  f'(time so far: {str(until_now)[:-7]} / '
+                  f'estimated time left: {str(until_end)[:-7]}): '
                   f'{path}; {gen_params.to_str}')
             maker.gen_image_to(path)