Fix file open mode
This commit is contained in:
@@ -23,7 +23,7 @@ def generate_liquid_script(config: IcecastConfig):
|
||||
|
||||
# Write the processed content to the output path
|
||||
output_path = "/config/op25.liq"
|
||||
with open(output_path, 'w') as f:
|
||||
with open(output_path, 'a+') as f:
|
||||
f.write(content)
|
||||
|
||||
print(f"\nSuccessfully wrote processed configuration to: {output_path}")
|
||||
|
||||
Reference in New Issue
Block a user