fix: avoid deprecated base class for config extension

This commit is contained in:
Lance Edgar 2024-08-16 10:10:13 -05:00
parent 7fe5e9aea6
commit fa4cb5dc9a

View file

@ -25,12 +25,12 @@ Tempmon config extension
"""
from wuttjamaican.db import get_engines
from wuttjamaican.conf import WuttaConfigExtension
from rattail.config import ConfigExtension
from rattail_tempmon.db import Session
class TempmonConfigExtension(ConfigExtension):
class TempmonConfigExtension(WuttaConfigExtension):
"""
Config extension for tempmon; adds tempmon DB engine/Session etc. Expects
something like this in your config: