Skip to content

Commit 0168bd5

Browse files
committed
[pyqgis-console] fix multi-line code execution
1 parent 20ce234 commit 0168bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/console/console_sci.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def excepthook(etype, value, tb):
616616

617617
sys.excepthook = excepthook
618618

619-
super(ShellScintilla, self).runsource(source, filename, symbol)
619+
return super(ShellScintilla, self).runsource(source, filename, symbol)
620620
finally:
621621
sys.excepthook = hook
622622

0 commit comments

Comments
 (0)