Rückgängig und so
This commit is contained in:
parent
ebf16af83f
commit
008fe2aa8a
|
|
@ -133,7 +133,7 @@ def getICSFileAll(request, ag):
|
||||||
|
|
||||||
|
|
||||||
def getICSFileEx(request, code, ag):
|
def getICSFileEx(request, code, ag):
|
||||||
#try:
|
try:
|
||||||
agency = Agency.objects.get(pk=ag)
|
agency = Agency.objects.get(pk=ag)
|
||||||
|
|
||||||
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl:
|
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl:
|
||||||
|
|
@ -154,15 +154,15 @@ def getICSFileEx(request, code, ag):
|
||||||
response = HttpResponse()
|
response = HttpResponse()
|
||||||
response.status_code = 401
|
response.status_code = 401
|
||||||
return response
|
return response
|
||||||
#except:
|
except:
|
||||||
# realm = ""
|
realm = ""
|
||||||
# response = HttpResponse()
|
response = HttpResponse()
|
||||||
# response.status_code = 401
|
response.status_code = 401
|
||||||
# return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
def getICSFileExAll(request, code, ag):
|
def getICSFileExAll(request, code, ag):
|
||||||
#try:
|
try:
|
||||||
agency = Agency.objects.get(pk=ag)
|
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 code == agency.agencycalurl_all:
|
||||||
c = Calendar()
|
c = Calendar()
|
||||||
|
|
@ -182,11 +182,11 @@ def getICSFileExAll(request, code, ag):
|
||||||
response = HttpResponse()
|
response = HttpResponse()
|
||||||
response.status_code = 401
|
response.status_code = 401
|
||||||
return response
|
return response
|
||||||
#except:
|
except:
|
||||||
# realm = ""
|
realm = ""
|
||||||
# response = HttpResponse()
|
response = HttpResponse()
|
||||||
# response.status_code = 401
|
response.status_code = 401
|
||||||
# return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue