mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 09:33:46 +01:00
Walk back small change to Confit path types
This commit is contained in:
parent
f63513c0e0
commit
c8816df9fd
1 changed files with 1 additions and 1 deletions
|
|
@ -1340,7 +1340,7 @@ class Filename(Template):
|
|||
|
||||
def value(self, view, template=None):
|
||||
path, source = view.first()
|
||||
if not isinstance(path, (bytes, BASESTRING)):
|
||||
if not isinstance(path, BASESTRING):
|
||||
self.fail(
|
||||
u'must be a filename, not {0}'.format(type(path).__name__),
|
||||
view,
|
||||
|
|
|
|||
Loading…
Reference in a new issue