Kalender
This commit is contained in:
parent
14840671fb
commit
39e934f40b
|
|
@ -137,13 +137,8 @@ def getICSFileEx(request, code, ag):
|
||||||
#try:
|
#try:
|
||||||
agency = Agency.objects.get(pk=ag)
|
agency = Agency.objects.get(pk=ag)
|
||||||
|
|
||||||
send_mail(
|
print("AG CODE: " + str(agency.agencycalurl))
|
||||||
'KAL',
|
print("CODE REQUEST: " + str(code))
|
||||||
str(code) + ' ' + str(agency.agencycalurl),
|
|
||||||
'noreply@digitale-agentur.com',
|
|
||||||
["htrampe@gmail.com"],
|
|
||||||
fail_silently=True
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
if agency != None and agency.agencycal_publicstatus == 1 and str(code) == str(agency.agencycalurl):
|
if agency != None and agency.agencycal_publicstatus == 1 and str(code) == str(agency.agencycalurl):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue