diff --git a/memberPlumbing/upcomingEvents.py b/memberPlumbing/upcomingEvents.py index 3c042e2..c4da789 100644 --- a/memberPlumbing/upcomingEvents.py +++ b/memberPlumbing/upcomingEvents.py @@ -36,6 +36,10 @@ def main(): membershipworks = config.membershipworks events = membershipworks.get_events_list(datetime.now()) + if "error" in events: + print("Error:", events["error"]) + return + events_list = "\n