This commit is contained in:
s500512 2024-12-11 16:28:26 +01:00
parent 7baedc8a30
commit f2ba8c96a2

View File

@ -5,9 +5,9 @@ class Plansza:
_instance = None
def __new__(cls, *args, **kwargs):
if not cls._instance:
cls._instance = super().__new__(cls)
return cls._instance
if not cls._instance:
cls._instance = super().__new__(cls)
return cls._instance
def __init__(self):
if not hasattr(self, '_initialized'):