create folder before copying font

This commit is contained in:
Tomas Groth 2019-02-17 22:23:18 +01:00
parent 80eef6fc5b
commit 815ef71a54
1 changed files with 3 additions and 1 deletions

View File

@ -378,7 +378,9 @@ class Builder(object):
"""
self._print('Copying OpenLP font...')
source = os.path.join(self.source_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
dest = os.path.join(self.dist_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
dest_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts')
dest = os.path.join(self.dest_dir, 'OpenLP.ttf')
os.makedirs(dest_dir)
copy(source, dest)
def copy_extra_files(self):