Walk back small change to Confit path types

This commit is contained in:
Adrian Sampson 2016-06-25 18:54:21 -07:00
parent f63513c0e0
commit c8816df9fd

View file

@ -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,