Fixed missing likes display
This commit is contained in:
parent
575dc1fa2d
commit
d31ff7957f
@ -429,6 +429,8 @@ def embed(video_link, vnf, image):
|
|||||||
qrt,e=vnfFromCacheOrDL(vnf['qrtURL'])
|
qrt,e=vnfFromCacheOrDL(vnf['qrtURL'])
|
||||||
if qrt is not None:
|
if qrt is not None:
|
||||||
desc=msgs.formatEmbedDesc(vnf['type'],desc,qrt,pollDisplay,likeDisplay)
|
desc=msgs.formatEmbedDesc(vnf['type'],desc,qrt,pollDisplay,likeDisplay)
|
||||||
|
else:
|
||||||
|
desc=msgs.formatEmbedDesc(vnf['type'],desc,None,pollDisplay,likeDisplay)
|
||||||
embedVNF=None
|
embedVNF=None
|
||||||
appNamePost = ""
|
appNamePost = ""
|
||||||
if vnf['type'] == "Text": # Change the template based on tweet type
|
if vnf['type'] == "Text": # Change the template based on tweet type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user