1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02:50 +00:00

fix syntax error

This commit is contained in:
Tomas Groth 2019-02-18 20:59:28 +01:00
parent 2827fdf90b
commit fdc1afa8e8

View File

@ -381,7 +381,7 @@ class Builder(object):
dst_dir = os.path.join(self.dist_path, 'core', 'display', 'html')
font_files = ['OpenLP.ttf', 'openlp-charmap.json']
os.makedirs(dst_dir)
for font_file in font_files
for font_file in font_files:
src = os.path.join(src_dir, font_file)
dst = os.path.join(dest_dir, font_file)
copy(src, dst)
@ -395,7 +395,7 @@ class Builder(object):
dst_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts')
html_files = ['OpenLP.ttf', 'openlp-charmap.json']
os.makedirs(dst_dir)
for display_file in os.listdir(src_dir)
for display_file in os.listdir(src_dir):
src = os.path.join(src_dir, display_file)
dst = os.path.join(dest_dir, display_file)
copy(src, dst)