Skip to content

Commit

Permalink
Merge pull request #2306 from avaris/static-follow-symlink
Browse files Browse the repository at this point in the history
Fixes #2305: Follow symlinks while copying in static generator
  • Loading branch information
justinmayer committed Mar 17, 2018
2 parents 9cf05fb + beef062 commit a51a487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican/utils.py
Expand Up @@ -360,7 +360,7 @@ def walk_error(err):
source_, destination_)
return

for src_dir, subdirs, others in os.walk(source_):
for src_dir, subdirs, others in os.walk(source_, followlinks=True):
dst_dir = os.path.join(destination_,
os.path.relpath(src_dir, source_))

Expand Down

0 comments on commit a51a487

Please sign in to comment.