fix typo error

This commit is contained in:
bkfox 2018-02-12 01:54:43 +01:00
parent 52af8f3380
commit 9b0220201a

View File

@ -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(archives = True) \
return list(self.get_sounds(**type) \
.filter(path__isnull = False) \
.values_list('path', flat = True))