fix typo error
This commit is contained in:
parent
52af8f3380
commit
9b0220201a
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user