prkl
This commit is contained in:
+1
-4
@@ -142,10 +142,7 @@ def submit(request, *args, **kwargs):
|
||||
send_email(to=to_email, subject=subject, body=message, html=True)
|
||||
logging.debug(f"Sent kaehmy email to recipient <{to_email}>")
|
||||
|
||||
if kaehmybot_allowed:
|
||||
processHooks(
|
||||
message=f"Uusi New kaehmy! {name} -> {url}", eventType="kaehmy"
|
||||
)
|
||||
processHooks(message=f"Uusi New kaehmy! {name} -> {url}", eventType="kaehmy")
|
||||
else:
|
||||
context = {"error": form.errors}
|
||||
return render(request, "kaehmy/error.html", context)
|
||||
|
||||
Reference in New Issue
Block a user