Skip to content
Snippets Groups Projects
Commit a7c5340b authored by Attila Farkas's avatar Attila Farkas
Browse files

close yaml after loading

parent c33f12d9
No related branches found
No related tags found
1 merge request!7Resolve Refactoring
......@@ -11,6 +11,8 @@ def open_yaml(file_name):
except IOError:
print("Error: Cannot open the required file: " + str(file_name))
raise
finally:
input_file.close()
def generate_file(filename, output_string):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment