Skip to content

Commit

Permalink
more rebust firmware check
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Apr 5, 2024
1 parent 4ff44a4 commit 6726a2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dfmux/python/Housekeeping.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def ProcessBuffered(self, frame):
dat = self.tuber[board].GetReply()[0]['result']

boardhk = self.HousekeepingFromJSON(dat)
ismkid = ismkid or "mkid" in boardhk.firmware_name.lower()
if boardhk.firmware_name:
ismkid = ismkid or "mkid" in boardhk.firmware_name.lower()
hkdata[int(boardhk.serial)] = boardhk

ip, crate, slot = self.board_map[board]
Expand Down

0 comments on commit 6726a2d

Please sign in to comment.