Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2017-09-21 01:04:10 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2017-09-21 01:04:10 +0300
commita3b8f989131625c72c3933832479626b377b6764 (patch)
tree20158197fd73cf77e2df2bfad77077f21cdfa422
parentc0a7e9b6312d74a19ae61168350cb02b33eab6ae (diff)
revert commit c0a7e9b6312d74 because it did not work as expected
-rw-r--r--release/scripts/modules/console_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py
index 917819c908b..a740f31c830 100644
--- a/release/scripts/modules/console_python.py
+++ b/release/scripts/modules/console_python.py
@@ -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: