mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[pyqgis-console] fix multi-line code execution
This commit is contained in:
parent
20ce2343cb
commit
0168bd5c68
@ -616,7 +616,7 @@ class ShellScintilla(QsciScintilla, code.InteractiveInterpreter):
|
||||
|
||||
sys.excepthook = excepthook
|
||||
|
||||
super(ShellScintilla, self).runsource(source, filename, symbol)
|
||||
return super(ShellScintilla, self).runsource(source, filename, symbol)
|
||||
finally:
|
||||
sys.excepthook = hook
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user