Follow symlinks when assembling the templates
This commit is contained in:
2
generate
2
generate
@ -80,7 +80,7 @@ def find(file_or_dir_list):
|
||||
if os.path.isfile(e):
|
||||
ret[e] = tpl2fn(e, e)
|
||||
elif os.path.isdir(e):
|
||||
for root, dirnames, filenames in os.walk(e):
|
||||
for root, dirnames, filenames in os.walk(e, followlinks=True):
|
||||
for filename in filenames:
|
||||
if filename.startswith("_"):
|
||||
continue
|
||||
|
Reference in New Issue
Block a user