remove linebreaks

master
Aevann 2024-01-14 14:25:24 +02:00
parent 3987dc1686
commit 142be891f6
1 changed files with 0 additions and 4 deletions

View File

@ -392,15 +392,11 @@ def create_sub2(v):
text = f":!marseyparty: /h/{hole} has been created by @{v.username} :marseyparty:"
text_html = sanitize(text, blackjack="notification")
cid = create_comment(text_html)
t = time.time() - 604800
notified_users = [x[0] for x in g.db.query(User.id).filter(User.admin_level >= PERMS['NOTIFICATIONS_HOLE_CREATION'], User.id != v.id, User.last_active > t)]
for uid in notified_users:
add_notif(cid, uid, text, check_existing=False)
return redirect(f"/h/{hole}")
@app.post("/kick/<int:pid>")