From 2c70ff7e2df0c4720a6c3445fa7e8f697849ab5d Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Fri, 29 Jan 2021 17:47:19 +0100 Subject: [PATCH] JsonResponses raus --- users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/views.py b/users/views.py index 2c02cb2..085c467 100644 --- a/users/views.py +++ b/users/views.py @@ -186,7 +186,7 @@ def getICSFileExAll(request, code, ag): if(request.method == "GET"): try: agency = Agency.objects.get(pk=ag) - if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl_all: + if agency != None and agency.agencycal_publicstatus == 1 and str(code) == str(agency.agencycalurl_all): c = Calendar() absencedays = Absence.objects.filter(agency=ag).exclude(confirm_status=2) for ab in absencedays: