diff --git a/src/qutescript/utils.py b/src/qutescript/utils.py index 988c1b2..84523cd 100644 --- a/src/qutescript/utils.py +++ b/src/qutescript/utils.py @@ -6,9 +6,7 @@ import tempfile HTML_BODY = """\
-{} -""" @@ -59,5 +57,5 @@ def send_to_browser(text, prefix: str = None): with tempfile.NamedTemporaryFile(mode='w', prefix=prefix, suffix='.html', delete=False) as out_file: out_file.writelines(text) with open(fifo, 'w') as fifo_file: - fifo_file.write('open -t file://{}'.format( + fifo_file.write('open -t file://{}\n'.format( os.path.abspath(out_file.name)))