aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2018-03-03 17:11:07 -0500
committerRob Austein <sra@hactrn.net>2018-03-03 17:11:07 -0500
commit50923a78e66d7039689131e9933e7a21c1083310 (patch)
treea2bd2178b29201d323f2061a55b40fadb1b542c1 /scripts
parent1757b40bfe2b2d2f60dc66143fc0e9e11db2cb0e (diff)
Doh, mutexes work better when plugged in.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/thready-time-signature.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/thready-time-signature.py b/scripts/thready-time-signature.py
index e0e82b5..c7240df 100755
--- a/scripts/thready-time-signature.py
+++ b/scripts/thready-time-signature.py
@@ -161,7 +161,7 @@ def main():
if not args.quiet:
print "Initializing"
- p11.C_Initialize()
+ p11.C_Initialize(CKF_OS_LOCKING_OK)
session = p11.C_OpenSession(args.slot)
p11.C_Login(session, CKU_USER, args.pin)