mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Code style: Spaces around binary operators
Also removed the unused machines_json value. Contributes to issue CURA-5483.
This commit is contained in:
parent
6ac10db582
commit
e3b05f0867
2 changed files with 6 additions and 7 deletions
|
@ -26,8 +26,7 @@ class FirmwareUpdateCheckerLookup:
|
|||
|
||||
def __init__(self, json_path) -> None:
|
||||
# Open the .json file with the needed lookup-lists for each machine(/model) and retrieve "raw" json.
|
||||
machines_json = None
|
||||
with open(json_path, "r", encoding="utf-8") as json_file:
|
||||
with open(json_path, "r", encoding = "utf-8") as json_file:
|
||||
machines_json = json.load(json_file).get("machines")
|
||||
if machines_json is None:
|
||||
Logger.log("e", "Missing or inaccessible: {0}".format(json_path))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue