1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02:50 +00:00

Use the right path variable

This commit is contained in:
Tomas Groth 2019-04-10 21:06:38 +02:00
parent e8d780bf81
commit 52a9793686

View File

@ -186,7 +186,7 @@ class WindowsBuilder(Builder):
for fragment in fragments: for fragment in fragments:
tree.append(fragment) tree.append(fragment)
self._print_verbose('Writing new WiX file') 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)) f.write(tostring(tree, encoding='utf-8', xml_declaration=True, pretty_print=True))
def _run_wix_tools(self): def _run_wix_tools(self):