Code style: Spaces around binary operators

Also removed the unused machines_json value.

Contributes to issue CURA-5483.
This commit is contained in:
Ghostkeeper 2018-10-12 16:46:39 +02:00
parent 6ac10db582
commit e3b05f0867
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A
2 changed files with 6 additions and 7 deletions

View File

@ -26,7 +26,6 @@ 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:
machines_json = json.load(json_file).get("machines")
if machines_json is None: