From b6935d0a1dc5bc860e4f253843fa87e5aebf93fc Mon Sep 17 00:00:00 2001 From: Chloe Carver-Brown Date: Thu, 26 May 2022 21:29:20 +0100 Subject: [PATCH] fuck Signed-off-by: Chloe Carver-Brown --- twitfix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twitfix.py b/twitfix.py index cbc3bfa..ba9d8b8 100644 --- a/twitfix.py +++ b/twitfix.py @@ -783,8 +783,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"][5] != "1": - appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][5]) + if vnf["images"][4] != "1": + appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][4]) image = vnf["images"][image] if raw == True: template = "img.html"