Skip to content

Commit

Permalink
Merge pull request #282 from mss/fix-too-old-firmware-check
Browse files Browse the repository at this point in the history
Fix check for too old firmware.
  • Loading branch information
daringer authored Sep 24, 2024
2 parents ccec1eb + c7a1609 commit d161507
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nitrokeyapp/device_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ def is_bootloader(self) -> bool:
@property
def is_too_old(self) -> bool:
try:
self.name
self.version
self.status
self.status.variant
assert self.name
assert self.version
assert self.status
assert self.status.variant
return False

except Exception:
Expand Down

0 comments on commit d161507

Please sign in to comment.