Fix a error in Track objects creation with MBids.
authorkaliko <kaliko.jack@azylum.org>
Thu, 3 Jan 2013 19:26:18 +0000 (20:26 +0100)
committerkaliko <kaliko.jack@azylum.org>
Thu, 3 Jan 2013 19:26:18 +0000 (20:26 +0100)
Thanks rimeno ;)

api/utils.py

index 173370c..8e23e01 100644 (file)
@@ -272,7 +272,7 @@ def set_trk(scrobble, artist):
     mbid = scrobble.tit_mbid
     if mbid:
         try:
-            return Track.objects.get(artist=artist, scid=mbid)
+            return Track.objects.get(scid=mbid)
         except Track.DoesNotExist:
             pass
     try: