mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Code style did not rename this variable
This commit is contained in:
parent
8f7370db6c
commit
b55abee783
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue