From d45b0712bc9195c352f98fde02cdfe96401e6acc Mon Sep 17 00:00:00 2001 From: Harshad Sharma Date: Fri, 16 Jun 2017 21:39:45 +0530 Subject: [PATCH] O_O --- src/qutescript/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)))