Skip to content

Commit 59f6abb

Browse files
author
wonder
committedMay 23, 2008
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgspythonutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void QgsPythonUtils::initPython(QgisInterface* interface)
5151

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.