Merge branch 'master' of github.com:Ultimaker/Cura into unittests_firmwareupdate_0

This commit is contained in:
Jaime van Kessel 2019-01-17 09:49:48 +01:00
commit f5c4b6919d
1123 changed files with 19962 additions and 12355 deletions

View file

@ -86,6 +86,11 @@ class FirmwareUpdateCheckerJob(Job):
current_version = self.getCurrentVersion()
# This case indicates that was an error checking the version.
# It happens for instance when not connected to internet.
if current_version == self.ZERO_VERSION:
return
# If it is the first time the version is checked, the checked_version is ""
setting_key_str = getSettingsKeyForMachine(machine_id)
checked_version = Version(Application.getInstance().getPreferences().getValue(setting_key_str))