From 7537f344f8ba9b7663ca60fc07ab92d4e3cf0a4b Mon Sep 17 00:00:00 2001 From: James Turk Date: Thu, 10 May 2012 00:42:15 -0400 Subject: [PATCH] fix tracked_view --- oyster/web.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oyster/web.py b/oyster/web.py index 9fc3490..3d183ce 100644 --- a/oyster/web.py +++ b/oyster/web.py @@ -86,9 +86,8 @@ def tracked(): return json.dumps(tracked, cls=JSONEncoder) -@app.route('/tracked/') -def tracked_view(url): - url = _path_fixer(url) +@app.route('/tracked/') +def tracked_view(id): doc = kernel.db.tracked.find_one({'_id': id}) return json.dumps(doc, cls=JSONEncoder)