mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-06-05 09:20:43 +00:00
When prettify add new line at the end of the file.
This avoid trouble with most text editors.
This commit is contained in:
parent
15ee8fba0c
commit
eced8be2a5
@ -65,4 +65,5 @@ for appliance in glob.glob('appliances/*.gns3a'):
|
|||||||
# Save
|
# Save
|
||||||
with open(appliance, 'w') as f:
|
with open(appliance, 'w') as f:
|
||||||
json.dump(config, f,indent=4)
|
json.dump(config, f,indent=4)
|
||||||
|
f.write("\n")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user