mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Removed unnecessary pass statement from reply.operation
CURA-7038
This commit is contained in:
parent
dde0dd8ce3
commit
42851b0851
1 changed files with 0 additions and 3 deletions
|
@ -694,9 +694,6 @@ class Toolbox(QObject, Extension):
|
|||
Logger.log("w", "Unable to connect with the server, we got a response code %s while trying to connect to %s", reply.attribute(QNetworkRequest.HttpStatusCodeAttribute), reply.url())
|
||||
self.setViewPage("errored")
|
||||
self.resetDownload()
|
||||
elif reply.operation() == QNetworkAccessManager.PutOperation:
|
||||
# Ignore any operation that is not a get operation
|
||||
pass
|
||||
|
||||
def _checkCompatibilities(self, json_data) -> None:
|
||||
user_subscribed_packages = [plugin["package_id"] for plugin in json_data]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue