summaryrefslogtreecommitdiffstats
path: root/module/lib
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-02 22:10:56 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-02 22:10:56 +0100
commit5f29a0420addb405953cd7a633cfa7ea46409142 (patch)
tree255ceff7314c7d7c2d140855f58d231376b949f1 /module/lib
parentremoved django => now using bottle, new builtin threaded ssl server (diff)
downloadpyload-5f29a0420addb405953cd7a633cfa7ea46409142.tar.xz
little fixes
Diffstat (limited to 'module/lib')
-rw-r--r--module/lib/bottle.py3
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