Skip to content
Permalink
Browse files

[Plugin manager] Use raw string for zip file path to avoid escaping '…

…\U' in C:\Users. Fixes #17624
  • Loading branch information
borysiasty committed Dec 4, 2017
1 parent 053fec8 commit f180ea4454740ecf2fe8adf5ec53233a2888b0b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/pluginmanager/qgspluginmanager.cpp
@@ -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( "" );
}

0 comments on commit f180ea4

Please sign in to comment.
You can’t perform that action at this time.