diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-08-07 21:34:22 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-09-20 23:48:38 +0300 |
commit | c0a7e9b6312d74a19ae61168350cb02b33eab6ae (patch) | |
tree | 4a898d3c82b60b28e4fff6ff4380e9d82a6b7ab3 /release | |
parent | 78c2242db5ae347a048a123636625c3bf7088c6a (diff) |
D2777: allow blank lines and lines with spaces/tabs in cut/paste
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/console_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py index a740f31c830..917819c908b 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 "\n" + line_exec = line if line.strip() else "" is_multiline = console.push(line_exec) except: |