diff --git a/picard/ui/searchdialog.py b/picard/ui/searchdialog.py index 974d75952..614a56dde 100644 --- a/picard/ui/searchdialog.py +++ b/picard/ui/searchdialog.py @@ -281,11 +281,11 @@ class SearchDialog(PicardDialog): def network_error(self, reply, error): error_msg = _("Following error occurred while fetching results:

" - "Network request error for %s:
%s (QT code %d, HTTP code %s)
" % ( + "Network request error for %s:
%s (QT code %d, HTTP code %s)
") % ( reply.request().url().toString(QtCore.QUrl.RemoveUserInfo), reply.errorString(), error, - repr(reply.attribute(QtNetwork.QNetworkRequest.HttpStatusCodeAttribute))) + repr(reply.attribute(QtNetwork.QNetworkRequest.HttpStatusCodeAttribute)) ) self.show_error(error_msg, show_retry_button=True)