From d31ff7957f03c6dee22f93e79291b7171c289f6a Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 28 Oct 2022 19:43:02 +0100 Subject: [PATCH] Fixed missing likes display --- twitfix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twitfix.py b/twitfix.py index 29d9627..f407809 100644 --- a/twitfix.py +++ b/twitfix.py @@ -429,6 +429,8 @@ def embed(video_link, vnf, image): qrt,e=vnfFromCacheOrDL(vnf['qrtURL']) if qrt is not None: desc=msgs.formatEmbedDesc(vnf['type'],desc,qrt,pollDisplay,likeDisplay) + else: + desc=msgs.formatEmbedDesc(vnf['type'],desc,None,pollDisplay,likeDisplay) embedVNF=None appNamePost = "" if vnf['type'] == "Text": # Change the template based on tweet type