Skip to content

Commit

Permalink
fixed unsupported batch version reading
Browse files Browse the repository at this point in the history
  • Loading branch information
krios-fabteam committed Aug 10, 2017
1 parent ae734ee commit 89680bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabui/ext/py/fabtotum/fabui/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def hardwareBootstrap(gcs, config = None, logger = None):
hardwareID = eeprom['batch_number']
except Exception as e:
log.error("cannot read batch number")
hardwareID = config.get('settings', 'hardware.id', 1)
hardwareID = str(config.get('settings', 'hardware.id', 1))
log.error("batch number set to {0}".format(hardwareID))


Expand Down

0 comments on commit 89680bf

Please sign in to comment.