From 9be01802af3cb0c1e933f07291907ae9aaa2acef Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 27 Mar 2016 16:26:40 +0200 Subject: Fixed formatting in API 'Unknown method' message. --- fbin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbin.py b/fbin.py index fdb8187..fb037f7 100755 --- a/fbin.py +++ b/fbin.py @@ -562,7 +562,7 @@ class Application(object): return error('Error fetching user data') data['status'] = True else: - data['message'] = 'Unknown method "%s"' + data['message'] = 'Unknown method "%s"' % method start_response('200 OK', [('Content-Type', 'application/json')]) return [json.dumps(data)] -- cgit v1.2.3