Skip to content

Commit 5edc9df

Browse files
minoruajef-n
authored andcommitted
fix #4303
1 parent 338c70f commit 5edc9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/qgspythonutilsimpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ QString QgsPythonUtilsImpl::pluginsPath()
451451
QString QgsPythonUtilsImpl::homePythonPath()
452452
{
453453
QString settingsDir = QgsApplication::qgisSettingsDirPath();
454-
if ( settingsDir == QDir::homePath() + "/.qgis/" )
454+
if ( QDir::cleanPath( settingsDir ) == QDir::homePath() + "/.qgis" )
455455
{
456456
return "os.path.expanduser(\"~/.qgis/python\")";
457457
}

0 commit comments

Comments
 (0)