dont try import shit for now it dont work
This commit is contained in:
parent
bf49e76420
commit
70aa4b20d9
1 changed files with 3 additions and 2 deletions
|
@ -179,8 +179,9 @@ Openbox::Openbox(int argc, char **argv)
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
init_otk();
|
init_otk();
|
||||||
init_openbox();
|
init_openbox();
|
||||||
PyRun_String("from _otk import *; from _openbox import *;", Py_file_input,
|
// i wish...
|
||||||
PyEval_GetGlobals(), PyEval_GetGlobals());
|
//PyRun_String("from _otk import *; from _openbox import *;", Py_file_input,
|
||||||
|
// Py_None, Py_None);
|
||||||
FILE *rcpyfd = fopen("/home/natas/.openbox/user.py", "r");
|
FILE *rcpyfd = fopen("/home/natas/.openbox/user.py", "r");
|
||||||
if (!rcpyfd) {
|
if (!rcpyfd) {
|
||||||
printf("failed to load python file /home/natas/.openbox/user.py\n");
|
printf("failed to load python file /home/natas/.openbox/user.py\n");
|
||||||
|
|
Loading…
Reference in a new issue