summaryrefslogtreecommitdiff
path: root/extras/appengine
diff options
context:
space:
mode:
Diffstat (limited to 'extras/appengine')
-rw-r--r--extras/appengine/sqlformat/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/appengine/sqlformat/views.py b/extras/appengine/sqlformat/views.py
index c2bea11..806496f 100644
--- a/extras/appengine/sqlformat/views.py
+++ b/extras/appengine/sqlformat/views.py
@@ -170,7 +170,7 @@ def index(request):
data['errors'] = str(form.errors)
data['output'] = output
logging.info('%r', proc_time)
- data['proc_time'] = '%.3f' % proc_time or 0.0
+ data['proc_time'] = '%.3f' % (proc_time or 0.0)
data = json.dumps(data)
return HttpResponse(data, content_type='text/x-json')
elif request.POST.get('format', None) == 'text':