Skip to content
Permalink
Browse files

more sane python paths order: first qgis-wide python path, then plugins

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8508 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed May 23, 2008
1 parent 213b042 commit 59f6abb2649e70567b13f1bad1bf0063f3ca76bb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgspythonutils.cpp
@@ -51,7 +51,7 @@ void QgsPythonUtils::initPython(QgisInterface* interface)

// expect that bindings are installed locally, so add the path to modules
// also add path to plugins
runString("sys.path = [\"" + homePluginsPath() + "\", \"" + pythonPath() + "\", \"" + pluginsPath() + "\"] + sys.path");
runString("sys.path = [\"" + pythonPath() + "\", \"" + homePluginsPath() + "\", \"" + pluginsPath() + "\"] + sys.path");

// import SIP
if (!runString("from sip import wrapinstance, unwrapinstance",

0 comments on commit 59f6abb

Please sign in to comment.
You can’t perform that action at this time.