From 797b670d0e968075cb98de37b1439c59c4470caa Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 26 May 2022 18:11:30 +0100 Subject: [PATCH] Do not combine single image tweets --- twitfix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitfix.py b/twitfix.py index d89ac92..16b1a68 100644 --- a/twitfix.py +++ b/twitfix.py @@ -546,7 +546,7 @@ def embedCombined(video_link): return embedCombinedVnf(video_link, cached_vnf) def embedCombinedVnf(video_link,vnf): - if vnf['type'] != "Image": + if vnf['type'] != "Image" or vnf['images'][4] == "1": return embed(video_link, vnf, 0) desc = re.sub(r' http.*t\.co\S+', '', vnf['description']) urlUser = urllib.parse.quote(vnf['uploader'])