Fix double loading plugins and sys.path entires multiplying

This commit is contained in:
qu1ck
2022-02-16 22:28:00 -08:00
committed by jean-pierre charras
parent b9a834e600
commit b53b68c686
2 changed files with 3 additions and 2 deletions
@@ -67,7 +67,7 @@ bool SCRIPTING_TOOL::Init()
PyDict_SetItemString( sys_mod, "_pcbnew", mod );
Py_DECREF( mod );
callLoadPlugins();
// plugins will be loaded later via ReloadPlugins()
}
return true;