error msg consistency

master
Aevann 2023-10-24 22:22:11 +03:00
parent 55941a8562
commit c193eeb215
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ def award_thing(v, thing_type, id):
abort(403, "You can't give the chud award in /h/chudrama") abort(403, "You can't give the chud award in /h/chudrama")
if author.chud == 1: if author.chud == 1:
abort(409, f"{safe_username} already chudded permanently!") abort(409, f"{safe_username} already permanently chudded!")
if author.chud and time.time() < author.chud: author.chud += 86400 if author.chud and time.time() < author.chud: author.chud += 86400
else: author.chud = int(time.time()) + 86400 else: author.chud = int(time.time()) + 86400