From 70aa4b20d940d8bff1d36a251143fd73149e030c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Dec 2002 23:49:00 +0000 Subject: [PATCH] dont try import shit for now it dont work --- src/openbox.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/openbox.cc b/src/openbox.cc index 9078e6e1..ca631d82 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -179,8 +179,9 @@ Openbox::Openbox(int argc, char **argv) Py_Initialize(); init_otk(); init_openbox(); - PyRun_String("from _otk import *; from _openbox import *;", Py_file_input, - PyEval_GetGlobals(), PyEval_GetGlobals()); + // i wish... + //PyRun_String("from _otk import *; from _openbox import *;", Py_file_input, + // Py_None, Py_None); FILE *rcpyfd = fopen("/home/natas/.openbox/user.py", "r"); if (!rcpyfd) { printf("failed to load python file /home/natas/.openbox/user.py\n"); -- 2.45.2