refactor: make project not singleton

This commit is contained in:
Dobin
2024-02-19 19:36:49 +00:00
parent f915b253a7
commit e3d2deb4a0
5 changed files with 7 additions and 10 deletions
+1
View File
@@ -7,6 +7,7 @@ CONFIG_FILE = os.path.join(os.path.dirname(__file__), "config.yaml")
class Config(object):
def __init__(self):
self.data = {}
self.ShowCommandOutput: bool = False
def getConfigPath(self):
return CONFIG_FILE