Mercurial > hg > orthanc
diff Resources/EmbedResources.py @ 3589:a648c2d67a65
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 19 Dec 2019 22:17:24 +0100 |
parents | 76b3228f99b0 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Resources/EmbedResources.py Thu Dec 19 22:16:49 2019 +0100 +++ b/Resources/EmbedResources.py Thu Dec 19 22:17:24 2019 +0100 @@ -101,6 +101,8 @@ # The resource is a directory: Recursively explore its files content = {} for root, dirs, files in os.walk(pathName): + dirs.sort() + files.sort() base = os.path.relpath(root, pathName) # Fix issue #24 (Build fails on OSX when directory has .DS_Store files):