Hide RTs if they are 0

This commit is contained in:
Dylan 2023-07-02 21:24:44 +01:00
parent 23c5aaccd1
commit ba853725c0

View File

@ -7,7 +7,10 @@ videoDescLimit=220
tweetDescLimit=340
def genLikesDisplay(vnf):
return ("\n\n💖 " + str(vnf['likes']) + " 🔁 " + str(vnf['rts']))
if vnf['rts'] > 0:
return ("\n\n💖 " + str(vnf['likes']) + " 🔁 " + str(vnf['rts']))
else:
return ("\n\n💖 " + str(vnf['likes']))
def genQrtDisplay(qrt):
verifiedCheck = "☑️" if ('verified' in qrt and qrt['verified']) else ""