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