mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 04:52:49 +01:00
Expose split arg from StrSeq in as_str_seq
This commit is contained in:
parent
3db656a685
commit
1a8b20f354
1 changed files with 2 additions and 2 deletions
|
|
@ -407,11 +407,11 @@ class ConfigView(object):
|
|||
"""
|
||||
return self.get(Number())
|
||||
|
||||
def as_str_seq(self):
|
||||
def as_str_seq(self, split=True):
|
||||
"""Get the value as a sequence of strings. Equivalent to
|
||||
`get(StrSeq())`.
|
||||
"""
|
||||
return self.get(StrSeq())
|
||||
return self.get(StrSeq(split=split))
|
||||
|
||||
def as_str(self):
|
||||
"""Get the value as a (Unicode) string. Equivalent to
|
||||
|
|
|
|||
Loading…
Reference in a new issue