From af0f631e7f1cab785c8d02593cd0a0e67c2d2cea Mon Sep 17 00:00:00 2001 From: Miryam Schwartz Date: Tue, 19 Nov 2024 12:04:32 +0200 Subject: [PATCH] fix comments --- .../fluentd_telemetry_plugin/src/merge_configuration_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fluentd_telemetry_plugin/src/merge_configuration_files.py b/plugins/fluentd_telemetry_plugin/src/merge_configuration_files.py index a5525d4a..38c374a2 100644 --- a/plugins/fluentd_telemetry_plugin/src/merge_configuration_files.py +++ b/plugins/fluentd_telemetry_plugin/src/merge_configuration_files.py @@ -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__": @@ -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) \ No newline at end of file + merge_ini_files(old_file, new_file)