update-homePythonPath.patch

Minoru Akagi, 2013-04-07 06:34 AM

Download (952 Bytes)

View differences:

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