Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Miryam-Schwartz committed Nov 19, 2024
1 parent 62de27f commit af0f631
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def merge_ini_files(old_file_path, new_file_path):
config_merged.set(section, option, old_value)

# Write the merged configuration to the output file
with open(old_file, 'w', encoding="utf-8") as configfile:
with open(old_file_path, 'w', encoding="utf-8") as configfile:
config_merged.write(configfile)

if __name__ == "__main__":
Expand All @@ -72,4 +72,4 @@ def merge_ini_files(old_file_path, new_file_path):
old_file = sys.argv[1]
new_file = sys.argv[2]

merge_ini_files(old_file, new_file)
merge_ini_files(old_file, new_file)

0 comments on commit af0f631

Please sign in to comment.