all repos — openbox @ d22a6c6c04cf20bd23efa68ad1202f278f25e113

openbox fork - make it a bit more like ryudo

capitalization
Dana Jansens danakj@orodu.net
commit

d22a6c6c04cf20bd23efa68ad1202f278f25e113

parent

abaaed47f1796e950d3e1d98d8ccfd6304bc94cf

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/python.ccsrc/python.cc

@@ -45,13 +45,14 @@

void python_destroy() { Py_DECREF(obdict); + Py_Finalize(); } bool python_exec(const std::string &path) { FILE *rcpyfd = fopen(path.c_str(), "r"); if (!rcpyfd) { - printf("failed to load python file %s\n", path.c_str()); + printf("Failed to load python file %s\n", path.c_str()); return false; } PyRun_SimpleFile(rcpyfd, const_cast<char*>(path.c_str()));