From ff94208ce0f571139d12d61d8c6c1cadcb98e294 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 31 Jan 2003 09:23:23 +0000 Subject: [PATCH] typo --- src/python.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python.cc b/src/python.cc index 2144ab4a..874ad638 100644 --- a/src/python.cc +++ b/src/python.cc @@ -28,7 +28,7 @@ void python_init(char *argv0) init_ob(); // prepend the openbox directories for python scripts to the sys path PyRun_SimpleString("import sys"); - PyRun_SimpleString("sys.path.insert('0, " SCRIPTDIR "')"); + PyRun_SimpleString("sys.path.insert(0, '" SCRIPTDIR "')"); PyRun_SimpleString(const_cast(("sys.path.insert(0, '" + otk::expandTilde("~/.openbox/python") + "')").c_str())); -- 2.17.1