diff --git a/main.py b/main.py index 8e5cbcb..92b3fc3 100644 --- a/main.py +++ b/main.py @@ -28,6 +28,9 @@ def process() -> Response: hours = int(request.args.get("hours", "0")) mins = int(request.args.get("mins", "0")) + if orig.status_code != 200: + return Response(orig.text, headers=orig.headers, status=orig.status_code) + orig_cal = Calendar.from_ical(orig.text) cal = Calendar()