mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
fix c/p error
This commit is contained in:
parent
03c3ea4319
commit
b049edfb48
@ -377,8 +377,8 @@ class Builder(object):
|
|||||||
Copy OpenLP font files
|
Copy OpenLP font files
|
||||||
"""
|
"""
|
||||||
self._print('Copying OpenLP fonts files...')
|
self._print('Copying OpenLP fonts files...')
|
||||||
src_dir = os.path.join(self.source_path, 'core', 'display', 'html')
|
src_dir = os.path.join(self.source_path, 'core', 'ui', 'fonts')
|
||||||
dst_dir = os.path.join(self.dist_path, 'core', 'display', 'html')
|
dst_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts')
|
||||||
font_files = ['OpenLP.ttf', 'openlp-charmap.json']
|
font_files = ['OpenLP.ttf', 'openlp-charmap.json']
|
||||||
os.makedirs(dst_dir)
|
os.makedirs(dst_dir)
|
||||||
for font_file in font_files:
|
for font_file in font_files:
|
||||||
@ -391,9 +391,8 @@ class Builder(object):
|
|||||||
Copy OpenLP display HTML files
|
Copy OpenLP display HTML files
|
||||||
"""
|
"""
|
||||||
self._print('Copying OpenLP HTML display files...')
|
self._print('Copying OpenLP HTML display files...')
|
||||||
src_dir = os.path.join(self.source_path, 'core', 'ui', 'fonts')
|
src_dir = os.path.join(self.source_path, 'core', 'display', 'html')
|
||||||
dst_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts')
|
dst_dir = os.path.join(self.dist_path, 'core', 'display', 'html')
|
||||||
html_files = ['OpenLP.ttf', 'openlp-charmap.json']
|
|
||||||
os.makedirs(dst_dir)
|
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)
|
src = os.path.join(src_dir, display_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user