homePythonPath.diff
src/python/qgspythonutilsimpl.cpp | ||
---|---|---|
451 | 451 |
QString QgsPythonUtilsImpl::homePythonPath() |
452 | 452 |
{ |
453 | 453 |
QString settingsDir = QgsApplication::qgisSettingsDirPath(); |
454 |
if ( settingsDir == QDir::homePath() + "/.qgis/" )
|
|
454 |
if ( QDir::cleanPath( settingsDir ) == QDir::homePath() + "/.qgis" )
|
|
455 | 455 |
{ |
456 | 456 |
return "os.path.expanduser(\"~/.qgis/python\")"; |
457 | 457 |
} |