aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-23 15:03:42 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:56 +0200
commit49ea52c45eee26be51df4969ca2af8c2b7c9ceb6 (patch)
tree91c0eb42eeda7286c8b5e83041b71e763f183d2e /build
parent7eb15813ffa2c2766e53245311b017c3b9c196fb (diff)
downloadlibnitrokey-49ea52c45eee26be51df4969ca2af8c2b7c9ceb6.tar.gz
libnitrokey-49ea52c45eee26be51df4969ca2af8c2b7c9ceb6.tar.bz2
Handling device errors through exceptions
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'build')
-rw-r--r--build/test.py1
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()