mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:39:02 +08:00
Code style did not rename this variable
This commit is contained in:
parent
8f7370db6c
commit
b55abee783
@ -28,7 +28,7 @@ class SendMaterialJob(Job):
|
||||
self.device = device #type: ClusterUM3OutputDevice
|
||||
|
||||
def run(self) -> None:
|
||||
self.device.get("materials/", onFinished = self.sendMissingMaterials)
|
||||
self.device.get("materials/", on_finished = self.sendMissingMaterials)
|
||||
|
||||
def sendMissingMaterials(self, reply: QNetworkReply) -> None:
|
||||
if reply.attribute(QNetworkRequest.HttpStatusCodeAttribute) != 200: #Got an error from the HTTP request.
|
||||
|
Loading…
x
Reference in New Issue
Block a user