forked from solderpunk/AV-98
easier error messages for pictures
This commit is contained in:
parent
1bbd317c1d
commit
ba5f6ecb91
|
@ -130,7 +130,7 @@ def inline_image(img_file,width):
|
|||
try:
|
||||
ansi_img = run(cmd, parameter=img_file)
|
||||
except Exception as err:
|
||||
ansi_img = "***image failed : %s***\n" %err
|
||||
ansi_img = "***IMAGE ERROR: wrong or undisplayable picture***\n" %err
|
||||
return ansi_img
|
||||
|
||||
def terminal_image(img_file):
|
||||
|
|
Loading…
Reference in New Issue