diff options
-rw-r--r-- | Cura/avr_isp/intelHex.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Cura/avr_isp/intelHex.py b/Cura/avr_isp/intelHex.py index fb78bb0ac5..21fb46394c 100644 --- a/Cura/avr_isp/intelHex.py +++ b/Cura/avr_isp/intelHex.py @@ -15,6 +15,8 @@ def readHex(filename): f = io.open(filename, "r") for line in f: line = line.strip() + if len(line) < 1: + continue if line[0] != ':': raise Exception("Hex file has a line not starting with ':'") recLen = int(line[1:3], 16) |