Save image before get_command()

This commit is contained in:
Mihail Shinder 2021-11-20 14:07:02 +02:00
parent 76ec3ee66b
commit 438dc4504b
No known key found for this signature in database
GPG Key ID: C89443B0B525978E

View File

@ -78,7 +78,7 @@ def test_commandviewer():
basecmd = "rm -f {file}" basecmd = "rm -f {file}"
viewer = ImageShow.CommandViewer() viewer = ImageShow.CommandViewer()
im = hopper() im = hopper()
viewer.get_command(im, command=basecmd) viewer.get_command(viewer.save_image(im), command=basecmd)
def test_ipythonviewer(): def test_ipythonviewer():