Add rattail export-hotcooler
command, for initial hotcooler support
..we'll see where this goes..
This commit is contained in:
parent
7f85483b73
commit
5ee411ba23
6 changed files with 205 additions and 7 deletions
|
@ -51,6 +51,12 @@ class TempmonConfigExtension(ConfigExtension):
|
|||
key = 'tempmon'
|
||||
|
||||
def configure(self, config):
|
||||
|
||||
# tempmon
|
||||
config.tempmon_engines = get_engines(config, section='rattail_tempmon.db')
|
||||
config.tempmon_engine = config.tempmon_engines.get('default')
|
||||
Session.configure(bind=config.tempmon_engine)
|
||||
|
||||
# hotcooler
|
||||
config.hotcooler_engines = get_engines(config, section='hotcooler.db')
|
||||
config.hotcooler_engine = config.hotcooler_engines.get('default')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue