From 1c3fe8713545010925826207c80c7e8ff4a77475 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 26 Aug 2024 14:03:23 +0200 Subject: [PATCH] Fix templating bug. --- stable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable.py b/stable.py index 484ac6e..e739d36 100755 --- 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) -- 2.30.2