From 9a10c01cc08f356bba163a996a9531c1f56c10cd Mon Sep 17 00:00:00 2001 From: Qudix <17361645+Qudix@users.noreply.github.com> Date: Wed, 18 Nov 2020 14:30:40 -0600 Subject: [PATCH] lamb-da --- src/runner/pythonrunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 9dd85f7..d482124 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -1264,7 +1264,7 @@ bool PythonRunner::initPython(const QString &pythonPath) bpy::import("site"); bpy::exec("sys.stdout = moprivate.PrintWrapper()\n" "sys.stderr = moprivate.ErrWrapper.instance()\n" - "sys.excepthook = sys.__excepthook__\n", + "sys.excepthook = lambda x, y, z: sys.__excepthook__(x, y, z)\n", mainNamespace); // add dlls directory