Only use lowercase for string comparison

CURA-4224
This commit is contained in:
Lipu Fei 2017-09-14 12:50:53 +02:00
parent ccebadee10
commit 3812a478cf

View file

@ -44,8 +44,8 @@ class FirmwareUpdateCheckerJob(Job):
reader = codecs.getreader("utf-8")
# get machine name from the definition container
machine_name = self._container.definition.getName().lower()
machine_name_parts = machine_name.split(" ")
machine_name = self._container.definition.getName()
machine_name_parts = machine_name.lower().split(" ")
# 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