diff options
Diffstat (limited to 'lib/thandy/ServerCLI.py')
-rw-r--r-- | lib/thandy/ServerCLI.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/thandy/ServerCLI.py b/lib/thandy/ServerCLI.py index 5e2c424..98f55e1 100644 --- a/lib/thandy/ServerCLI.py +++ b/lib/thandy/ServerCLI.py @@ -5,15 +5,12 @@ import sys import getopt import time -try: - import json -except: - import simplejson as json - import thandy.formats import thandy.util import thandy.keys +json = thandy.util.importJSON() + def tstamp(): return time.strftime("%Y%m%d_%H%M%S", time.localtime()) |