Merge branch 'feature_firmware_updater' of https://github.com/fieldOfView/Cura into fieldOfView-feature_firmware_updater

This commit is contained in:
Ghostkeeper 2018-10-15 15:41:17 +02:00
commit c680050040
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A

View File

@ -22,7 +22,7 @@ class AvrFirmwareUpdater(FirmwareUpdater):
def _updateFirmware(self) -> None:
try:
hex_file = intelHex.readHex(self._firmware_location)
hex_file = intelHex.readHex(self._firmware_file)
assert len(hex_file) > 0
except (FileNotFoundError, AssertionError):
Logger.log("e", "Unable to read provided hex file. Could not update firmware.")