address_label #3

Merged
tux merged 6 commits from address_label into master 2020-03-14 22:08:20 +01:00
Showing only changes of commit c9ff14d013 - Show all commits

View file

@ -70,7 +70,12 @@ def main(*_args):
else:
member_struct = json.load(open('example.json', 'r'))
app = FormApp(member_struct)
app.run()
try:
app.run()
except Exception as e:
print(e)
return 0
new_data = {}
new_data['stammdaten'] = dict(zip(app.sd2.keys(), map(lambda f: f.value, app.sd2.values())))
new_data['finanzdaten'] = dict(zip(app.fin2.keys(), map(lambda f: f.value, app.fin2.values())))