summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/srd.c b/srd.c
index 7b18c9a..2947ca8 100644
--- a/srd.c
+++ b/srd.c
@@ -157,7 +157,7 @@ SRD_API int srd_init(const char *path)
PyImport_AppendInittab("sigrokdecode", PyInit_sigrokdecode);
/* Initialize the Python interpreter. */
- Py_Initialize();
+ Py_InitializeEx(0);
/* Locations relative to the XDG system data directories. */
sys_datadirs = g_get_system_data_dirs();