Added Singleton class to inherit as needed

This commit is contained in:
2023-03-27 19:53:47 -05:00
parent 48d6c505a7
commit ef03030c88
6 changed files with 33 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ import inspect
# Lib imports
# Application imports
from ..singleton import Singleton
from .start_check_mixin import StartCheckMixin
@@ -14,7 +15,7 @@ class MissingConfigError(Exception):
class Settings(StartCheckMixin):
class Settings(StartCheckMixin, Singleton):
def __init__(self):
self._SCRIPT_PTH = os.path.dirname(os.path.realpath(__file__))
self._USER_HOME = os.path.expanduser('~')