aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/pythontab.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/pythontab.cc b/gui/pythontab.cc
index c83f1ece..1d53dc64 100644
--- a/gui/pythontab.cc
+++ b/gui/pythontab.cc
@@ -96,10 +96,9 @@ void PythonTab::newContext(Context *ctx)
console->clear();
pyinterpreter_preinit();
- init_python("nextpnr", true);
+ init_python("nextpnr");
pyinterpreter_initialize();
pyinterpreter_aquire();
- init_python("nextpnr", false);
python_export_global("ctx", ctx);
pyinterpreter_release();