diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-02 22:10:56 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-02 22:10:56 +0100 |
commit | 5f29a0420addb405953cd7a633cfa7ea46409142 (patch) | |
tree | 255ceff7314c7d7c2d140855f58d231376b949f1 /module/lib | |
parent | removed django => now using bottle, new builtin threaded ssl server (diff) | |
download | pyload-5f29a0420addb405953cd7a633cfa7ea46409142.tar.xz |
little fixes
Diffstat (limited to 'module/lib')
-rw-r--r-- | module/lib/bottle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/lib/bottle.py b/module/lib/bottle.py index 8f2be9e81..67774521a 100644 --- a/module/lib/bottle.py +++ b/module/lib/bottle.py @@ -110,7 +110,8 @@ try: except ImportError: # pragma: no cover from simplejson import dumps as json_dumps except ImportError: # pragma: no cover - json_dumps = None + import pprint # hope it works + json_dumps = pprint if sys.version_info >= (3,0,0): # pragma: no cover # See Request.POST |