fix typo error
This commit is contained in:
@ -915,7 +915,7 @@ class Diffusion(models.Model):
|
|||||||
Returns sounds as a playlist (list of *local* file path).
|
Returns sounds as a playlist (list of *local* file path).
|
||||||
The given arguments are passed to ``get_sounds``.
|
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) \
|
.filter(path__isnull = False) \
|
||||||
.values_list('path', flat = True))
|
.values_list('path', flat = True))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user