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

Fix a variable

This commit is contained in:
Raoul Snyman 2019-04-30 23:06:17 -07:00
parent 6dd78d9b40
commit d4166602ea

View File

@ -174,7 +174,8 @@ class WindowsBuilder(Builder):
Description=description, IgnoreFailure='yes', Description=description, IgnoreFailure='yes',
Program=program, Protocol='udp', Scope='any')) Program=program, Protocol='udp', Scope='any'))
# Add the file association XML # Add the file association XML
with open(os.path.join(self.config_dir, 'file_associations.xml')) as assoc_file: config_dir = os.path.dirname(self.config_path)
with open(os.path.join(config_dir, 'file_associations.xml')) as assoc_file:
file_assoc = parse(assoc_file) file_assoc = parse(assoc_file)
component.append(file_assoc.getroot()) component.append(file_assoc.getroot())
element.append(component) element.append(component)