We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 01cd784 commit f5e4c9dCopy full SHA for f5e4c9d
src/python/qgspythonutilsimpl.cpp
@@ -619,11 +619,11 @@ QString QgsPythonUtilsImpl::homePythonPath()
619
QString settingsDir = QgsApplication::qgisSettingsDirPath();
620
if ( QDir::cleanPath( settingsDir ) == QDir::homePath() + QStringLiteral( "/.qgis3" ) )
621
{
622
- return QStringLiteral( "b\"%1/.qgis3/python\".decode('utf-8')" ).arg( QDir::homePath() );
+ return QStringLiteral( "\"%1/.qgis3/python\"" ).arg( QDir::homePath() );
623
}
624
else
625
626
- return "b\"" + settingsDir.replace( '\\', QLatin1String( "\\\\" ) ) + "python\".decode('utf-8')";
+ return "\"" + settingsDir.replace( '\\', QLatin1String( "\\\\" ) ) + "python\"";
627
628
629
0 commit comments