mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
FirmwareUpdateChecker: Small fixes (typing and lowercase input).
This commit is contained in:
parent
f2b50c748c
commit
69cef98c30
2 changed files with 3 additions and 4 deletions
|
@ -42,7 +42,7 @@ class FirmwareUpdateCheckerLookup:
|
|||
try:
|
||||
for machine_json in machines_json:
|
||||
machine_id = machine_json.get("id")
|
||||
machine_name = machine_json.get("name")
|
||||
machine_name = machine_json.get("name").lower() # Lower in case upper-case char are added to the json.
|
||||
self._machine_ids.append(machine_id)
|
||||
self._machine_per_name[machine_name] = machine_id
|
||||
version_parse_function = \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue