revert commit c0a7e9b6312d74 because it did not work as expected
authorGaia Clary <gaia.clary@machinimatrix.org>
Wed, 20 Sep 2017 22:04:10 +0000 (00:04 +0200)
committerGaia Clary <gaia.clary@machinimatrix.org>
Wed, 20 Sep 2017 22:04:10 +0000 (00:04 +0200)
release/scripts/modules/console_python.py

index 917819c908beb2569319de82bd8da3a1e01b5ccc..a740f31c83091f1a5b43a02daa14dc1b927f498b 100644 (file)
@@ -163,7 +163,7 @@ def execute(context, is_interactive):
             line = line_object.body
 
             # run the console, "\n" executes a multi line statement
-            line_exec = line if line.strip() else ""
+            line_exec = line if line.strip() else "\n"
 
             is_multiline = console.push(line_exec)
         except: