Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed May 23, 2008
1 parent 213b042 commit 59f6abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgspythonutils.cpp
Expand Up @@ -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",
Expand Down

0 comments on commit 59f6abb

Please sign in to comment.