From 89fec60de6272d475001a6a273b41aea0c9bff93 Mon Sep 17 00:00:00 2001 From: encrypt Date: Wed, 3 Jul 2024 21:43:25 +0200 Subject: [PATCH] fix multidate non esposto --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 49bf01f..525009b 100755 --- a/app.py +++ b/app.py @@ -39,7 +39,7 @@ def fetch_events(api_endpoint): end_dt = datetime.datetime.fromtimestamp(event['end_datetime']) end_day = f"{day2giorno(start_dt.strftime('%A'))} {end_dt.strftime('%d')}" end_hour = end_dt.strftime("%H:%M") - if event['multidate']: + if event.get('multidate', False): when = f"da {when} a {end_day}" when += " alle " when += end_hour