Fix reverted change

This commit is contained in:
Dylan
2026-04-19 01:39:52 +01:00
parent 7c7a6e6a59
commit fb1fdaf4b5
+1 -1
View File
@@ -18,7 +18,7 @@ def genLikesDisplay(vnf):
def genQrtDisplay(qrt):
text = qrt['text']
if "translation" in qrt:
if "translation" in qrt and qrt["translation"] is not None:
text = qrt["translation"]["text"]
verifiedCheck = "☑️" if ('verified' in qrt and qrt['verified']) else ""
return ("\n\n【QRT of " + qrt['user_name'] + " (@" + qrt['user_screen_name'] + ")"+ verifiedCheck+":】\n\n'" + text + "'")