mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 0280e823d3 into 7fabd712a1
This commit is contained in:
commit
7182a3a230
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue