From bb16fdb4bba86ff54df177aaf8b624da8d6677d0 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 14 Nov 2020 16:34:12 +0100 Subject: Python code cleanup --- gui/pythontab.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui') 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(); -- cgit v1.2.3