Skip to content

Commit

Permalink
[Plugin manager] Use raw string for zip file path to avoid escaping '…
Browse files Browse the repository at this point in the history
…\U' in C:\Users. Fixes #17624
  • Loading branch information
borysiasty committed Dec 4, 2017
1 parent 053fec8 commit f180ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginmanager.cpp
Expand Up @@ -1333,7 +1333,7 @@ void QgsPluginManager::mZipFileWidget_fileChanged( const QString &filePath )

void QgsPluginManager::buttonInstallFromZip_clicked()
{
QgsPythonRunner::run( QStringLiteral( "pyplugin_installer.instance().installFromZipFile('%1')" ).arg( mZipFileWidget->filePath() ) );
QgsPythonRunner::run( QStringLiteral( "pyplugin_installer.instance().installFromZipFile(r'%1')" ).arg( mZipFileWidget->filePath() ) );
mZipFileWidget->setFilePath( "" );
}

Expand Down

0 comments on commit f180ea4

Please sign in to comment.