JsonResponses raus

This commit is contained in:
holger.trampe 2021-01-29 17:47:19 +01:00
parent d194800253
commit 2c70ff7e2d
1 changed files with 1 additions and 1 deletions

View File

@ -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: