瀏覽代碼

[scrobbling] Don't run locations though can_be_updated

Colin Powell 1 年之前
父節點
當前提交
8a83c9fdb3
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      vrobbler/apps/scrobbles/models.py

+ 0 - 4
vrobbler/apps/scrobbles/models.py

@@ -907,10 +907,6 @@ class Scrobble(TimeStampedModel):
                 "media_type": cls.MediaType.GEO_LOCATION,
                 "media_id": location.id,
                 "scrobble_data": scrobble_data,
-                "percent_played": scrobble.percent_played if scrobble else 0,
-                "can_be_updated": scrobble.can_be_updated
-                if scrobble
-                else False,
             },
         )