This commit is contained in:
holger.trampe 2021-01-29 17:19:08 +01:00
parent 14840671fb
commit 39e934f40b
1 changed files with 2 additions and 7 deletions

View File

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