]> Dogcows Code - chaz/openbox/blobdiff - src/python.cc
rm prefixes for all elements in the otk namepsace
[chaz/openbox] / src / python.cc
index 040d70206d44f26c49103ae7f2c571ed3420d373..891d11203104b03f1140e6286a03b29a9a2de9f7 100644 (file)
@@ -27,7 +27,7 @@ void python_init(char *argv0)
   // include the openbox directories for python scripts in the sys path
   PyRun_SimpleString("import sys");
   PyRun_SimpleString("sys.path.append('" SCRIPTDIR "')");
-  PyRun_SimpleString(const_cast<char*>(((std::string)"sys.path.append('" +
+  PyRun_SimpleString(const_cast<char*>(("sys.path.append('" +
                                         otk::expandTilde("~/.openbox/python") +
                                         "')").c_str()));
   // import the otk and openbox modules into the main namespace
This page took 0.025937 seconds and 4 git commands to generate.