Do not combine single image tweets
This commit is contained in:
parent
728785278b
commit
797b670d0e
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ def embedCombined(video_link):
|
||||||
return embedCombinedVnf(video_link, cached_vnf)
|
return embedCombinedVnf(video_link, cached_vnf)
|
||||||
|
|
||||||
def embedCombinedVnf(video_link,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)
|
return embed(video_link, vnf, 0)
|
||||||
desc = re.sub(r' http.*t\.co\S+', '', vnf['description'])
|
desc = re.sub(r' http.*t\.co\S+', '', vnf['description'])
|
||||||
urlUser = urllib.parse.quote(vnf['uploader'])
|
urlUser = urllib.parse.quote(vnf['uploader'])
|
||||||
|
|
Loading…
Reference in a new issue