fix: fix signature for calls to get_engines()
This commit is contained in:
parent
55c84c6efe
commit
8021ac818e
|
@ -52,10 +52,10 @@ class TempmonConfigExtension(ConfigExtension):
|
||||||
def configure(self, config):
|
def configure(self, config):
|
||||||
|
|
||||||
# tempmon
|
# tempmon
|
||||||
config.tempmon_engines = get_engines(config, section='rattail_tempmon.db')
|
config.tempmon_engines = get_engines(config, 'rattail_tempmon.db')
|
||||||
config.tempmon_engine = config.tempmon_engines.get('default')
|
config.tempmon_engine = config.tempmon_engines.get('default')
|
||||||
Session.configure(bind=config.tempmon_engine)
|
Session.configure(bind=config.tempmon_engine)
|
||||||
|
|
||||||
# hotcooler
|
# hotcooler
|
||||||
config.hotcooler_engines = get_engines(config, section='hotcooler.db')
|
config.hotcooler_engines = get_engines(config, 'hotcooler.db')
|
||||||
config.hotcooler_engine = config.hotcooler_engines.get('default')
|
config.hotcooler_engine = config.hotcooler_engines.get('default')
|
||||||
|
|
Loading…
Reference in a new issue