Commit 9d8e0d73 authored by payno's avatar payno

[gui][utils] fix subprocess.call of the imagek process

parent 3f6254d8
......@@ -61,4 +61,7 @@ def open_url_with_image_j(url):
raise OSError('ImageJ is not installed')
else:
# for now we only manage the simple case of an edf file
subprocess.call(['imagej', '-o', url.master_file()])
try:
subprocess.call(['imagej', '-o', url.file_path()])
except Exception as e:
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment