Files
pyqcrm/lib/Test.py
2024-11-25 15:17:20 +01:00

14 lines
272 B
Python

import toml
class Singleton(object):
def __new__(cls):
if not hasattr(cls, "__instance"):
cls.__instance = super().__new__(cls)
return cls.__instance
class DbManager(Singleton):
def __init__(self, dbconf):
toml.