Merge pull request #14 from lyricalpaws/main

Hopefully fix
This commit is contained in:
Chloe 2022-05-26 19:53:12 +01:00 committed by GitHub
commit e2cbe5728c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)"