diff options
Diffstat (limited to 'win/js.py')
-rw-r--r-- | win/js.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/win/js.py b/win/js.py deleted file mode 100644 index d1d4db3..0000000 --- a/win/js.py +++ /dev/null @@ -1,10 +0,0 @@ -import json - -# usage: -# print JSON().encode(kv) - -class JSON(json.JSONEncoder): - def __init__(self, **kwargs): - args = dict(sort_keys=True, indent=2) - args.update(kwargs) - json.JSONEncoder.__init__(self, **args) |