mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 00:53:14 +08: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
@ -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…
x
Reference in New Issue
Block a user