refactor-datamodel #10

Merged
tux merged 10 commits from refactor-datamodel into master 2020-03-14 23:08:56 +01:00
Showing only changes of commit 464c74866a - Show all commits

View file

@ -56,10 +56,11 @@ def main(*_args):
if app.data_has_changed():
out_data = app.get_data_from_form()
outfile_name = app.get_filename()
print(f"Writing changed Member Data to {outfile_name}")
with open(outfile_name, 'w') as outfile:
json.dump(out_data, outfile, sort_keys=True, indent=4)
else:
print("Nothing has changed")
print("Nothing has changed, skipping writing file")
if __name__ == "__main__":