address_label #3
1 changed files with 6 additions and 1 deletions
|
@ -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())))
|
||||
|
|
Loading…
Reference in a new issue