From d2c56d8a983485c769e7858683d8732e6e8eb1fc Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 11 Aug 2016 11:00:23 -0600 Subject: [PATCH] Properly translate account type when creating accounts --- vanth/platform/ofxaccount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanth/platform/ofxaccount.py b/vanth/platform/ofxaccount.py index d6937ed..a7aad4a 100644 --- a/vanth/platform/ofxaccount.py +++ b/vanth/platform/ofxaccount.py @@ -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'))