From: Christian Heller Date: Mon, 26 Aug 2024 12:03:23 +0000 (+0200) Subject: Fix templating bug. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/edit?a=commitdiff_plain;h=1c3fe8713545010925826207c80c7e8ff4a77475;p=stable_plom Fix templating bug. --- 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)