homePythonPath.diff

Minoru Akagi, 2013-04-07 04:24 AM

Download (558 Bytes)

View differences:

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
  }