diff options
Diffstat (limited to 'languages/python/pydoc.cpp')
-rw-r--r-- | languages/python/pydoc.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/languages/python/pydoc.cpp b/languages/python/pydoc.cpp index bcb38b1e..86027d3a 100644 --- a/languages/python/pydoc.cpp +++ b/languages/python/pydoc.cpp @@ -19,8 +19,12 @@ using namespace TDEIO; PydocProtocol::PydocProtocol(const TQCString &pool, const TQCString &app) : SlaveBase("pydoc", pool, app), key() { - python = TDEGlobal::dirs()->findExe("python"); - script = locate("data", "tdeio_pydoc/kde_pydoc.py"); + python = TDEGlobal::dirs()->findExe("python3"); + if(python.isEmpty()) + { + python = TDEGlobal::dirs()->findExe("python"); + } + script = locate("data", "tdeio_pydoc/kde_pydoc.py"); } |