mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 21:09:00 +08:00
Only use lowercase for string comparison
CURA-4224
This commit is contained in:
parent
ccebadee10
commit
3812a478cf
@ -44,8 +44,8 @@ class FirmwareUpdateCheckerJob(Job):
|
|||||||
reader = codecs.getreader("utf-8")
|
reader = codecs.getreader("utf-8")
|
||||||
|
|
||||||
# get machine name from the definition container
|
# get machine name from the definition container
|
||||||
machine_name = self._container.definition.getName().lower()
|
machine_name = self._container.definition.getName()
|
||||||
machine_name_parts = machine_name.split(" ")
|
machine_name_parts = machine_name.lower().split(" ")
|
||||||
|
|
||||||
# If it is not None, then we compare between the checked_version and the current_version
|
# If it is not None, then we compare between the checked_version and the current_version
|
||||||
# Now we just do that if the active printer is Ultimaker 3 or Ultimaker 3 Extended or any
|
# Now we just do that if the active printer is Ultimaker 3 or Ultimaker 3 Extended or any
|
||||||
|
Loading…
x
Reference in New Issue
Block a user