diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-11-14 16:34:12 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-11-14 16:34:12 +0100 |
commit | bb16fdb4bba86ff54df177aaf8b624da8d6677d0 (patch) | |
tree | 26924d3a9c129004a1356d5a45cee0d6d6060cc3 /common/command.cc | |
parent | 06555aa00327061423af120f1b017f9c37d0c051 (diff) | |
download | nextpnr-bb16fdb4bba86ff54df177aaf8b624da8d6677d0.tar.gz nextpnr-bb16fdb4bba86ff54df177aaf8b624da8d6677d0.tar.bz2 nextpnr-bb16fdb4bba86ff54df177aaf8b624da8d6677d0.zip |
Python code cleanup
Diffstat (limited to 'common/command.cc')
-rw-r--r-- | common/command.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.cc b/common/command.cc index 96ea8deb..a18612e4 100644 --- a/common/command.cc +++ b/common/command.cc @@ -321,7 +321,7 @@ int CommandHandler::executeMain(std::unique_ptr<Context> ctx) } #ifndef NO_PYTHON - init_python(argv[0], true); + init_python(argv[0]); python_export_global("ctx", *ctx); if (vm.count("run")) { |