mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Fix a variable
This commit is contained in:
parent
6dd78d9b40
commit
d4166602ea
@ -174,7 +174,8 @@ class WindowsBuilder(Builder):
|
||||
Description=description, IgnoreFailure='yes',
|
||||
Program=program, Protocol='udp', Scope='any'))
|
||||
# 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)
|
||||
component.append(file_assoc.getroot())
|
||||
element.append(component)
|
||||
|
Loading…
Reference in New Issue
Block a user