fix #4075
This commit is contained in:
@@ -223,7 +223,7 @@ class Console(QtWidgets.QPlainTextEdit):
|
||||
exec(command, self.namespace, self.namespace)
|
||||
except SystemExit:
|
||||
self.close()
|
||||
except Exception:
|
||||
except BaseException:
|
||||
traceback_lines = traceback.format_exc().split('\n')
|
||||
# Remove traceback mentioning this file, and a linebreak
|
||||
for i in (3,2,1,-1):
|
||||
|
||||
Reference in New Issue
Block a user