From b049edfb4885e82b7fe4946ea0c5d72e021aabba Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 18 Feb 2019 21:10:59 +0100 Subject: [PATCH] fix c/p error --- builders/builder.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/builders/builder.py b/builders/builder.py index 4edfbef..0139c4b 100644 --- a/builders/builder.py +++ b/builders/builder.py @@ -377,8 +377,8 @@ class Builder(object): Copy OpenLP font files """ self._print('Copying OpenLP fonts files...') - src_dir = os.path.join(self.source_path, 'core', 'display', 'html') - dst_dir = os.path.join(self.dist_path, 'core', 'display', 'html') + src_dir = os.path.join(self.source_path, 'core', 'ui', 'fonts') + dst_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts') font_files = ['OpenLP.ttf', 'openlp-charmap.json'] os.makedirs(dst_dir) for font_file in font_files: @@ -391,9 +391,8 @@ class Builder(object): Copy OpenLP display HTML files """ self._print('Copying OpenLP HTML display files...') - src_dir = os.path.join(self.source_path, 'core', 'ui', 'fonts') - dst_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts') - html_files = ['OpenLP.ttf', 'openlp-charmap.json'] + src_dir = os.path.join(self.source_path, 'core', 'display', 'html') + dst_dir = os.path.join(self.dist_path, 'core', 'display', 'html') os.makedirs(dst_dir) for display_file in os.listdir(src_dir): src = os.path.join(src_dir, display_file)