Changing config folder name to Config

This commit is contained in:
Rafael Vargas
2022-03-26 22:10:34 -04:00
parent 985d87a470
commit cc0cd6424f
7 changed files with 0 additions and 1 deletions

16
Config/Singleton.py Normal file
View File

@@ -0,0 +1,16 @@
class Singleton(object):
__instance = None
__created = False
def __new__(cls, *args, **kwargs):
if cls.__instance is None:
cls.__instance = object.__new__(cls)
return cls.__instance
@property
def created(cls):
if cls.__created == False:
cls.__created = True
return False
else:
return True