diff --git a/twitfix.py b/twitfix.py index e325c48..a1ebee0 100644 --- a/twitfix.py +++ b/twitfix.py @@ -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)"