summaryrefslogtreecommitdiff
path: root/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'decode.c')
-rw-r--r--decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decode.c b/decode.c
index 2cae1db..da8624a 100644
--- a/decode.c
+++ b/decode.c
@@ -51,7 +51,7 @@ int sigrokdecode_init(void)
/* FIXME: Check error code. */
/* FIXME: What happens if this function is called multiple times? */
PyRun_SimpleString("import sys;"
- "sys.path.append('" DECODERS_DIR "');");
+ "sys.path.append(r'" DECODERS_DIR "');");
if (!(dir = opendir(DECODERS_DIR)))
return SIGROKDECODE_ERR_DECODERS_DIR;