X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/d7186e88fcc0cf5d5449a16d3907e01aaafc484e..c890962d08c585b0534c631aaa87f0eb7ea7d3a1:/src/archive/utils.py?ds=sidebyside diff --git a/src/archive/utils.py b/src/archive/utils.py index b8598df..35f7a74 100644 --- a/src/archive/utils.py +++ b/src/archive/utils.py @@ -37,6 +37,6 @@ def sha1_file(f): def all_files(root_path): root_len = len(root_path) - for path, dirs, files in os.walk(root_path): + for path, dirs, files in os.walk(root_path, followlinks=True): for fname in files: yield os.path.join(path, fname)[root_len:].lstrip("/")