diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-23 15:03:42 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:56 +0200 |
commit | 49ea52c45eee26be51df4969ca2af8c2b7c9ceb6 (patch) | |
tree | 91c0eb42eeda7286c8b5e83041b71e763f183d2e /build/test.py | |
parent | 7eb15813ffa2c2766e53245311b017c3b9c196fb (diff) | |
download | libnitrokey-49ea52c45eee26be51df4969ca2af8c2b7c9ceb6.tar.gz libnitrokey-49ea52c45eee26be51df4969ca2af8c2b7c9ceb6.tar.bz2 |
Handling device errors through exceptions
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'build/test.py')
-rw-r--r-- | build/test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/test.py b/build/test.py index b3d9ea7..4aaf8cd 100644 --- a/build/test.py +++ b/build/test.py @@ -25,6 +25,7 @@ if __name__ == "__main__": # C.NK_set_debug(False) a = C.NK_write_hotp_slot(1, 'python_test', '12345678901234567890', 0, 'faketemppass') + # a = C.NK_write_hotp_slot(1, 'python_test', '12345678901234567890', 0, '123123123') print(a) exit() |