fix: avoid deprecated reference to app db engine
This commit is contained in:
parent
b762a0782a
commit
d29b840343
|
@ -63,8 +63,8 @@ def make_rattail_config(settings):
|
|||
settings['wutta_config'] = rattail_config
|
||||
|
||||
# configure database sessions
|
||||
if hasattr(rattail_config, 'rattail_engine'):
|
||||
tailbone.db.Session.configure(bind=rattail_config.rattail_engine)
|
||||
if hasattr(rattail_config, 'appdb_engine'):
|
||||
tailbone.db.Session.configure(bind=rattail_config.appdb_engine)
|
||||
if hasattr(rattail_config, 'trainwreck_engine'):
|
||||
tailbone.db.TrainwreckSession.configure(bind=rattail_config.trainwreck_engine)
|
||||
if hasattr(rattail_config, 'tempmon_engine'):
|
||||
|
|
Loading…
Reference in a new issue