diff options
-rw-r--r-- | controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.c b/controller.c index e169a51..e49212c 100644 --- a/controller.c +++ b/controller.c @@ -94,7 +94,7 @@ SRD_API int srd_init(char *path) /* Environment variable overrides everything, for debugging. */ if ((env_path = getenv("SIGROKDECODE_DIR"))) { - if ((ret = add_modulepath(path)) != SRD_OK) { + if ((ret = add_modulepath(env_path)) != SRD_OK) { Py_Finalize(); return ret; } |