Skip to content

Commit

Permalink
- exit if public key is not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokawa committed Jan 3, 2025
1 parent c4af24e commit 6863936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/test_osnma.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

if not os.path.exists('../data/pubkey/osnma/'+mt_file):
print('please install OSNMA_MerkleTree*.xml from EUSPA.')
exit(-1)

nma = om.osnma(mt_file)

Expand Down
1 change: 1 addition & 0 deletions samples/test_qznma.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

if not os.path.exists('../data/pubkey/qznma/002.der'):
print('please install public key file from QSS.')
exit(-1)

dtype = [('wn', 'int'), ('tow', 'float'), ('prn', 'int'),
('type', 'int'), ('len', 'int'), ('nav', 'S512')]
Expand Down

0 comments on commit 6863936

Please sign in to comment.