Kalenderfehler
This commit is contained in:
parent
90ac260210
commit
dbfe6736b0
|
|
@ -133,7 +133,7 @@ def getICSFileAll(request, ag):
|
|||
|
||||
|
||||
def getICSFileEx(request, code, ag):
|
||||
if(request.user.is_anonymous and request.method == "GET"):
|
||||
if(request.method == "GET"):
|
||||
try:
|
||||
agency = Agency.objects.get(pk=ag)
|
||||
|
||||
|
|
@ -167,7 +167,7 @@ def getICSFileEx(request, code, ag):
|
|||
|
||||
|
||||
def getICSFileExAll(request, code, ag):
|
||||
if(request.user.is_anonymous and request.method == "GET"):
|
||||
if(request.method == "GET"):
|
||||
try:
|
||||
agency = Agency.objects.get(pk=ag)
|
||||
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl_all:
|
||||
|
|
|
|||
Loading…
Reference in New Issue