Merge pull request #18 from lyricalpaws/main
kabapray that this fixes the number issue
This commit is contained in:
commit
71ac108907
|
@ -783,10 +783,8 @@ def embed(video_link, vnf, image, raw=False):
|
||||||
if vnf["type"] == "Text": # Change the template based on tweet type
|
if vnf["type"] == "Text": # Change the template based on tweet type
|
||||||
template = "text.html"
|
template = "text.html"
|
||||||
if vnf["type"] == "Image":
|
if vnf["type"] == "Image":
|
||||||
print(" ➤ [ T ] vnf type is Image")
|
if vnf["images"][5] != "1":
|
||||||
if vnf["images"][4] != "1":
|
appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][5])
|
||||||
appNamePost = " - Image " + str(image+1) + "/" + str(vnf["images"][4])
|
|
||||||
print(f" ➤ [ T ] Setting appNamePost to {appNamePost}")
|
|
||||||
image = vnf["images"][image]
|
image = vnf["images"][image]
|
||||||
if raw == True:
|
if raw == True:
|
||||||
template = "img.html"
|
template = "img.html"
|
||||||
|
|
Reference in New Issue