From 0cb1425a582cc88ce399bd684a36e715fc707dd8 Mon Sep 17 00:00:00 2001 From: fergalmoran Date: Sat, 27 Oct 2012 17:57:12 +0100 Subject: [PATCH] Fixed typo --- spa/api/v1/MixResource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/api/v1/MixResource.py b/spa/api/v1/MixResource.py index e5c9228..62bad75 100644 --- a/spa/api/v1/MixResource.py +++ b/spa/api/v1/MixResource.py @@ -74,7 +74,7 @@ class MixResource(BackboneCompatibleResource): bundle.data['item_url'] = 'mix/%s' % bundle.obj.id bundle.data['play_count'] = bundle.obj.plays.count() - bundle.data['download_count'] = bundle.obj.downloadS.COUNT() + bundle.data['download_count'] = bundle.obj.download.count() bundle.data['like_count'] = bundle.obj.likes.count() bundle.data['mode'] = 'mix' bundle.data['tooltip'] = render_to_string('inc/player_tooltip.html', {'item': bundle.obj})