mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Catch the one that got away
This commit is contained in:
parent
ab7fe3138d
commit
6a50487bf0
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class AvrFirmwareUpdater(FirmwareUpdater):
|
||||||
|
|
||||||
def _updateFirmware(self) -> None:
|
def _updateFirmware(self) -> None:
|
||||||
try:
|
try:
|
||||||
hex_file = intelHex.readHex(self._firmware_location)
|
hex_file = intelHex.readHex(self._firmware_file)
|
||||||
assert len(hex_file) > 0
|
assert len(hex_file) > 0
|
||||||
except (FileNotFoundError, AssertionError):
|
except (FileNotFoundError, AssertionError):
|
||||||
Logger.log("e", "Unable to read provided hex file. Could not update firmware.")
|
Logger.log("e", "Unable to read provided hex file. Could not update firmware.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue