mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
Only set initial python deployment if needed.
We should only be setting this if an actual module was specified on the command-line that will be loaded.
This commit is contained in:
parent
599835e7fd
commit
c8c9a24d99
@ -366,8 +366,10 @@ kore_python_init(void)
|
||||
KORE_FILTER_LEN(filter_python));
|
||||
#endif
|
||||
|
||||
if (!kore_configure_setting("deployment", "dev"))
|
||||
fatal("failed to set initial deployment");
|
||||
if (kore_pymodule) {
|
||||
if (!kore_configure_setting("deployment", "dev"))
|
||||
fatal("failed to set initial deployment");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user