From ff31f221715ce99cac131db466b6f727b6b1986c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 14 Dec 2012 22:37:37 +0100 Subject: Changed and standardised layouts in all views. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.py') diff --git a/app.py b/app.py index 55e514f..5a077e0 100755 --- a/app.py +++ b/app.py @@ -73,7 +73,7 @@ class JSONApplication(object): try: session = db.Session() r = db.Track.search(session, *l, **d) - results = [x.dict() for x in r] + results = [self.format_track(x) for x in r] finally: session.close() -- cgit v1.2.3