diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-02 22:00:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-02 22:00:38 +0000 |
| commit | d22a6c6c04cf20bd23efa68ad1202f278f25e113 (patch) | |
| tree | d32719c06cd8d0901e6e0f3d413ca518e6ebed6d /src/python.cc | |
| parent | abaaed47f1796e950d3e1d98d8ccfd6304bc94cf (diff) | |
capitalization
Diffstat (limited to 'src/python.cc')
| -rw-r--r-- | src/python.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python.cc b/src/python.cc index 28369e9a..179e7372 100644 --- a/src/python.cc +++ b/src/python.cc @@ -45,13 +45,14 @@ void python_init(char *argv0) 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())); |
