From 914558a00c4c76a0a2544170afe80214467e2ecd Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Thu, 16 Sep 2021 13:50:49 +0200 Subject: [PATCH] helpers: Fix issue with usage of pad_time_component --- janine/modules/janine/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/janine/modules/janine/helpers.py b/janine/modules/janine/helpers.py index e4698a0..99ec4d1 100644 --- a/janine/modules/janine/helpers.py +++ b/janine/modules/janine/helpers.py @@ -37,7 +37,7 @@ def format_time(time_str): except ValueError: return time_str - return f"{date.day}.{date.month}.{date.year} {pad_time_component(date.hour)}:{pad_time_component(date.minute)}" + return f"{date.day}.{date.month}.{date.year} {pad_time_component(str(date.hour))}:{pad_time_component(str(date.minute))}" def format_warning(warning):