Skip to content

Commit

Permalink
Rename SE050_RAND_ERROR to more generic SE050_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Sep 19, 2023
1 parent b442135 commit bc04d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynitrokey/nk3/admin_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class InitStatus(IntFlag):
INTERNAL_FLASH_ERROR = 0b0010
EXTERNAL_FLASH_ERROR = 0b0100
MIGRATION_ERROR = 0b1000
SE050_RAND_ERROR = 0b00010000
SE050_ERROR = 0b00010000

def is_error(self) -> bool:
return self.value != 0
Expand Down

0 comments on commit bc04d3e

Please sign in to comment.