diff options
author | 2011-09-22 22:46:30 +0200 | |
---|---|---|
committer | 2011-09-22 22:46:30 +0200 | |
commit | fa41674089843fc931fb53ec60db5dabe3574b13 (patch) | |
tree | ca80a2681dad68b3f3fd0763386c0ab138c2378e /module/common/json.py | |
parent | closed #393 (diff) | |
download | pyload-fa41674089843fc931fb53ec60db5dabe3574b13.tar.xz |
fixed json import
Diffstat (limited to 'module/common/json.py')
-rw-r--r-- | module/common/json.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/module/common/json.py b/module/common/json.py deleted file mode 100644 index e9ed003a0..000000000 --- a/module/common/json.py +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - - -# abstraction layer for json operations - -try: # since python 2.7 - from json import loads as json_loads - from json import dumps as json_dumps -except ImportError: - from module.lib.simplejson import loads as json_loads - from module.lib.simplejson import dumps as json_dumps
\ No newline at end of file |