mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Skip the do-not-handle URLs instead of returning
CURA-5718 The request-url dict is not ordered so you cannot garuantee the ordering when you use .items(). This can cause a problem that if a do-not-handle item occurs first then nothing will be handled at all.
This commit is contained in:
parent
3da6e3c453
commit
d1301d16a9
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ class Toolbox(QObject, Extension):
|
|||
|
||||
# HACK: Do nothing because we'll handle these from the "packages" call
|
||||
if type in do_not_handle:
|
||||
return
|
||||
continue
|
||||
|
||||
if reply.url() == url:
|
||||
if reply.attribute(QNetworkRequest.HttpStatusCodeAttribute) == 200:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue