This commit is contained in:
2024-04-21 18:18:29 +02:00
parent 7f416274d5
commit 48e3732c15

View File

@@ -60,6 +60,7 @@ spec:
root = '.' root = '.'
def save_json(filename,data): def save_json(filename,data):
print('saving to', filename, json.dumps(data))
with open(filename, 'w') as file: with open(filename, 'w') as file:
file.write(json.dumps(data)) file.write(json.dumps(data))
# detect files based on their extention # detect files based on their extention