mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Only use lowercase for string comparison
CURA-4224
This commit is contained in:
parent
ccebadee10
commit
3812a478cf
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue