Skip to content

Commit

Permalink
[pyqgis-console] fix multi-line code execution
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Mar 31, 2016
1 parent 20ce234 commit 0168bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/console/console_sci.py
Expand Up @@ -616,7 +616,7 @@ def excepthook(etype, value, tb):

sys.excepthook = excepthook

super(ShellScintilla, self).runsource(source, filename, symbol)
return super(ShellScintilla, self).runsource(source, filename, symbol)
finally:
sys.excepthook = hook

Expand Down

0 comments on commit 0168bd5

Please sign in to comment.