Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
This commit is contained in:
Chloe Carver-Brown 2022-05-26 19:52:25 +01:00
parent bd1d4e0639
commit 1ae75c23e1
No known key found for this signature in database
GPG Key ID: 71938715093BE620
1 changed files with 2 additions and 2 deletions

View File

@ -784,8 +784,8 @@ 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":
if vnf['images'][4] != "1":
appNamePost = " - Image " + str(image+1) + "/" + str(vnf['images'][4])
if vnf["images"][4] != "1":
appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][4])
image = vnf["images"][image]
if vnf["images"][4] != "1":
imagecount = "Twitter (" + vnf["images"][4] + " images in post)"