From f2ba8c96a2f1134eff2ece51097e77cd0d6a5635 Mon Sep 17 00:00:00 2001 From: s500512 Date: Wed, 11 Dec 2024 16:28:26 +0100 Subject: [PATCH] Typo fix --- plansza.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plansza.py b/plansza.py index 1ede479..875e252 100644 --- a/plansza.py +++ b/plansza.py @@ -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