Add blank line before "QRT of" line

It looks a bit weird starting immediately after the tweet text without any blank lines in between. fxtwitter also adds a blank line before.
This commit is contained in:
alexia 2023-10-15 19:48:14 +02:00 committed by GitHub
parent 633b21b4cc
commit 47b3e31de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ def genLikesDisplay(vnf):
def genQrtDisplay(qrt):
verifiedCheck = "☑️" if ('verified' in qrt and qrt['verified']) else ""
return ("\n【QRT of " + qrt['uploader'] + " (@" + qrt['screen_name'] + ")"+ verifiedCheck+":】\n'" + qrt['description'] + "'")
return ("\n\n【QRT of " + qrt['uploader'] + " (@" + qrt['screen_name'] + ")"+ verifiedCheck+":】\n'" + qrt['description'] + "'")
def genPollDisplay(poll):
pctSplit=10
@ -55,4 +55,4 @@ def formatEmbedDesc(type,body,qrt,pollDisplay,likesDisplay):
body = body[:-(diff+1)]+""
return formatEmbedDesc(type,body,qrt,pollDisplay,likesDisplay)
else:
return output
return output