Skip to content

Commit

Permalink
Fix for error when installing plugin from zip and path contains a sin…
Browse files Browse the repository at this point in the history
…gle quote
  • Loading branch information
raymondnijssen authored and 3nids committed Sep 13, 2024
1 parent 416f3ae commit f414beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ void QgsPluginManager::buttonInstallFromZip_clicked()

if ( !showInstallFromZipWarning || msgbox.result() == QMessageBox::Yes )
{
QgsPythonRunner::run( QStringLiteral( "pyplugin_installer.instance().installFromZipFile(r'%1')" ).arg( mZipFileWidget->filePath() ) );
QgsPythonRunner::run( QStringLiteral( "pyplugin_installer.instance().installFromZipFile(r'''%1''')" ).arg( mZipFileWidget->filePath() ) );
mZipFileWidget->setFilePath( QString() );
}
}
Expand Down

0 comments on commit f414beb

Please sign in to comment.