From db36e645ddc0f3f489aed3e7c61ce0eb20916ac2 Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Mon, 14 Dec 2020 16:41:15 +0900 Subject: [PATCH] fix bug --- tools/generate_zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)