Typo fix
This commit is contained in:
parent
7baedc8a30
commit
f2ba8c96a2
@ -5,12 +5,12 @@ 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'):
|
||||
if not hasattr(self, '_initialized'):
|
||||
self.pole = [['O' for x in range(5)] for y in range(5)]
|
||||
self._initialized = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user