projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d8a035
)
typo
author
Dana Jansens
<danakj@orodu.net>
Fri, 31 Jan 2003 09:23:23 +0000
(09:23 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 31 Jan 2003 09:23:23 +0000
(09:23 +0000)
src/python.cc
patch
|
blob
|
history
diff --git
a/src/python.cc
b/src/python.cc
index 2144ab4a6e1a7c6e433043ccbe43d7b735bb9b45..874ad638b219215fc21089ba5b5304c085064a75 100644
(file)
--- 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<char*>(("sys.path.insert(0, '" +
otk::expandTilde("~/.openbox/python") +
"')").c_str()));