summaryrefslogtreecommitdiffstats
path: root/module/lib/bottle.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/lib/bottle.py')
-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