fix: avoid deprecated base class for config extension
This commit is contained in:
parent
7fe5e9aea6
commit
fa4cb5dc9a
|
@ -25,12 +25,12 @@ Tempmon config extension
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from wuttjamaican.db import get_engines
|
from wuttjamaican.db import get_engines
|
||||||
|
from wuttjamaican.conf import WuttaConfigExtension
|
||||||
|
|
||||||
from rattail.config import ConfigExtension
|
|
||||||
from rattail_tempmon.db import Session
|
from rattail_tempmon.db import Session
|
||||||
|
|
||||||
|
|
||||||
class TempmonConfigExtension(ConfigExtension):
|
class TempmonConfigExtension(WuttaConfigExtension):
|
||||||
"""
|
"""
|
||||||
Config extension for tempmon; adds tempmon DB engine/Session etc. Expects
|
Config extension for tempmon; adds tempmon DB engine/Session etc. Expects
|
||||||
something like this in your config:
|
something like this in your config:
|
||||||
|
|
Loading…
Reference in a new issue