forked from rDrama/rDrama
1
0
Fork 0

minor fix

master
Aevann 2022-12-27 07:37:21 +02:00
parent 47ba7f11f2
commit 54b49d374c
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ def filter_emojis_only(title, golden=True, count_marseys=False, graceful=False,
if torture:
title = torture_ap(title, g.v.username)
title = title.replace('','').replace('','').replace("\ufeff", "").replace("𒐪","").replace("\n", "").replace("\r", "").replace("\t", "").replace("&", "&amp;").replace('<','&lt;').replace('>','&gt;').replace('"', '&quot;').replace("'", "&#039;").strip()
title = title.replace('','').replace('','').replace("\ufeff", "").replace("𒐪","").replace("\n", "").replace("\r", "").replace("\t", "").replace("&", "&amp;").replace('<','&lt;').replace('>','&gt;').replace('"', '&quot;').replace("'", "&#039;").replace("","").strip()
marseys_used = set()

View File

@ -291,7 +291,7 @@ def award_thing(v, thing_type, id):
badge_grant(user=author, badge_id=28)
elif kind == "flairlock":
new_name = note[:100].replace("𒐪","")
new_name = note[:100].replace("𒐪","").replace("","").strip()
if not new_name and author.flairchanged:
author.flairchanged += 86400
else: