Use the right path variable

This commit is contained in:
Tomas Groth 2019-04-10 21:06:38 +02:00
parent e8d780bf81
commit 52a9793686
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class WindowsBuilder(Builder):
for fragment in fragments:
tree.append(fragment)
self._print_verbose('Writing new WiX file')
with open(os.path.join(self.config_path, 'OpenLP.wxs'), 'wb') as f:
with open(os.path.join(config_dir, 'OpenLP.wxs'), 'wb') as f:
f.write(tostring(tree, encoding='utf-8', xml_declaration=True, pretty_print=True))
def _run_wix_tools(self):