We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 338c70f commit 5edc9dfCopy full SHA for 5edc9df
src/python/qgspythonutilsimpl.cpp
@@ -451,7 +451,7 @@ QString QgsPythonUtilsImpl::pluginsPath()
451
QString QgsPythonUtilsImpl::homePythonPath()
452
{
453
QString settingsDir = QgsApplication::qgisSettingsDirPath();
454
- if ( settingsDir == QDir::homePath() + "/.qgis/" )
+ if ( QDir::cleanPath( settingsDir ) == QDir::homePath() + "/.qgis" )
455
456
return "os.path.expanduser(\"~/.qgis/python\")";
457
}
0 commit comments