From 13376952a97f6326bd5bc206934d111ee6c98ba0 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 17 Feb 2021 20:46:46 -0600 Subject: [PATCH] Configure engine for CORE "transactions" DB --- theo/web/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theo/web/app.py b/theo/web/app.py index b9180ee..5f6e3bb 100644 --- a/theo/web/app.py +++ b/theo/web/app.py @@ -58,8 +58,9 @@ def main(global_config, **settings): # CORE-POS DB(s) if integrate_corepos(rattail_config): - from tailbone_corepos.db import CoreOfficeSession + from tailbone_corepos.db import CoreOfficeSession, CoreTransSession CoreOfficeSession.configure(bind=rattail_config.corepos_engine) + CoreTransSession.configure(bind=rattail_config.coretrans_engine) # Catapult DB(s) if integrate_catapult(rattail_config):