Properly translate account type when creating accounts

This commit is contained in:
Eli Ribble 2016-08-11 11:00:23 -06:00
parent a23c0e2759
commit d2c56d8a98
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def by_user(user_id):
def create(values):
engine = chryso.connection.get()
values['type'] = values.pop('account_type')
values['source'] = sqlalchemy.select([
vanth.tables.OFXSource.c.uuid
]).where(vanth.tables.OFXSource.c.name == values.pop('institution'))