Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
This commit is contained in:
Chloe Carver-Brown 2022-05-26 20:59:37 +01:00
parent a559a949a4
commit 47cc17e75e
No known key found for this signature in database
GPG Key ID: 71938715093BE620
1 changed files with 1 additions and 0 deletions

View File

@ -783,6 +783,7 @@ def embed(video_link, vnf, image, raw=False):
if vnf["type"] == "Text": # Change the template based on tweet type
template = "text.html"
if vnf["type"] == "Image":
print(" ➤ [ T ] vnf type is Image")
if vnf["images"][4] != "1":
appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][4])
print(f" ➤ [ T ] Setting appNamePost to {appNamePost}")