From 60c18d8bba65bad6d2be42f8360630b57100b736 Mon Sep 17 00:00:00 2001 From: Chloe Carver-Brown Date: Thu, 26 May 2022 20:58:22 +0100 Subject: [PATCH 1/2] I hate twitter i hate twitter Signed-off-by: Chloe Carver-Brown --- twitfix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twitfix.py b/twitfix.py index ba9d8b8..ab9bf08 100644 --- a/twitfix.py +++ b/twitfix.py @@ -785,6 +785,7 @@ def embed(video_link, vnf, image, raw=False): if vnf["type"] == "Image": if vnf["images"][4] != "1": appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][4]) + print(f" ➤ [ T ] Setting appNamePost to {appNamePost}") image = vnf["images"][image] if raw == True: template = "img.html" From 47cc17e75eb1a581d492be86d7bbeea8ce3b4916 Mon Sep 17 00:00:00 2001 From: Chloe Carver-Brown Date: Thu, 26 May 2022 20:59:37 +0100 Subject: [PATCH 2/2] aa Signed-off-by: Chloe Carver-Brown --- twitfix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twitfix.py b/twitfix.py index ab9bf08..2760f26 100644 --- a/twitfix.py +++ b/twitfix.py @@ -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}")