From 815ef71a54dad0d6a1a9f31880ed0751f244e9c4 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Sun, 17 Feb 2019 22:23:18 +0100 Subject: [PATCH] create folder before copying font --- builders/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builders/builder.py b/builders/builder.py index f5e4d57..d2af1ad 100644 --- a/builders/builder.py +++ b/builders/builder.py @@ -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):