diff options
Diffstat (limited to 'lib/thandy/util.py')
-rw-r--r-- | lib/thandy/util.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/thandy/util.py b/lib/thandy/util.py index c1f1326..00efb59 100644 --- a/lib/thandy/util.py +++ b/lib/thandy/util.py @@ -10,6 +10,11 @@ try: except ImportError: import simplejson as json +try: + import _winreg +except ImportError: + _winreg = None + import thandy.formats import thandy.keys import thandy.master_keys @@ -100,3 +105,4 @@ def randChooseWeighted(lst): return i return lst[-1][1] + |