This commit is contained in:
Bill Anderson 2014-06-27 18:35:08 +00:00
commit 7182a3a230

View file

@ -122,6 +122,8 @@ class Generator(object):
if isinstance(paths, six.string_types):
paths = [paths] # backward compatibility for older generators
files = []
if type(paths) == type(''):
paths = [paths]
for path in paths:
root = os.path.join(self.path, path)