summaryrefslogtreecommitdiff
path: root/lib/thandy/SignerCLI.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thandy/SignerCLI.py')
-rw-r--r--lib/thandy/SignerCLI.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/thandy/SignerCLI.py b/lib/thandy/SignerCLI.py
index 476e7d5..7427474 100644
--- a/lib/thandy/SignerCLI.py
+++ b/lib/thandy/SignerCLI.py
@@ -4,13 +4,12 @@ import os
import getopt
import sys
import logging
-try:
- import json
-except ImportError:
- import simplejson as json
import thandy.keys
import thandy.formats
+import thandy.util
+
+json = thandy.util.importJSON()
def getKeyStore():
return thandy.keys.KeyStore(thandy.util.userFilename("secret_keys"))