From 82005261bbbe296380b61a9851e0fdb14d976b75 Mon Sep 17 00:00:00 2001 From: bkfox Date: Mon, 12 Feb 2018 02:03:16 +0100 Subject: [PATCH] Player.icon in UI --- aircox/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aircox/models.py b/aircox/models.py index 039171c..87ed148 100755 --- a/aircox/models.py +++ b/aircox/models.py @@ -915,7 +915,7 @@ class Diffusion(models.Model): Returns sounds as a playlist (list of *local* file path). The given arguments are passed to ``get_sounds``. """ - return list(self.get_sounds(**type) \ + return list(self.get_sounds(**types) \ .filter(path__isnull = False) \ .values_list('path', flat = True))