a simple type was forcing images to be rendered twice

This commit is contained in:
Ploum 2024-02-01 14:33:44 +01:00
parent 0fda6f5623
commit 8be531e5e2
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def inline_image(img_file,width):
cmd = inlines.pop(0)%width + " %s"
try:
ansi_img = run(cmd, parameter=img_file)
image_succes = True
image_success = True
except Exception as err:
ansi_img = "***IMAGE ERROR***\n%s\n%s" %(str(err)[:50],str(err)[-50:])
return ansi_img