diff --git a/tools/generate_zip.py b/tools/generate_zip.py index 957a0aa..4f256d5 100755 --- a/tools/generate_zip.py +++ b/tools/generate_zip.py @@ -18,7 +18,7 @@ for lang in langs: for f in (Path('..') / 'document_{}'.format(lang)).glob('*.html'): zipf.write(f, 'document_{}/'.format(lang) + f.name) - for f in (Path('..') / 'document_{}/lib'.format(lang)).glob('**/*'): + for f in (Path('..') / 'document_{}/lib'.format(lang)).glob('*'): zipf.write(f, 'document_{}/lib/'.format(lang) + f.name) for f in (Path('..') / 'document_{}/lib/fonts'.format(lang)).glob('**/*'): zipf.write(f, 'document_{}/lib/fonts/'.format(lang) + f.name)