Skip to content
Permalink
Browse files

fix #4303

  • Loading branch information
minorua authored and jef-n committed Apr 7, 2013
1 parent 338c70f commit 5edc9df06b39d07f30f117c5f8c66d994ac9e0cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/python/qgspythonutilsimpl.cpp
@@ -451,7 +451,7 @@ QString QgsPythonUtilsImpl::pluginsPath()
QString QgsPythonUtilsImpl::homePythonPath()
{
QString settingsDir = QgsApplication::qgisSettingsDirPath();
if ( settingsDir == QDir::homePath() + "/.qgis/" )
if ( QDir::cleanPath( settingsDir ) == QDir::homePath() + "/.qgis" )
{
return "os.path.expanduser(\"~/.qgis/python\")";
}

0 comments on commit 5edc9df

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