From 098dc4977f8e894fdc01932efe28e4da8f72fd3c Mon Sep 17 00:00:00 2001 From: legonzaur Date: Fri, 3 May 2024 16:28:46 +0200 Subject: [PATCH] small cleanup --- src/model/turn.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/model/turn.py b/src/model/turn.py index 8dae6d9..9ffb267 100644 --- a/src/model/turn.py +++ b/src/model/turn.py @@ -3,7 +3,6 @@ Checks the actions of the user and prevent the user to do something illegal """ from typing import TYPE_CHECKING, List, Dict, Optional, Callable, Coroutine, Any -from uuid import UUID from model import ( Serializable, CardType, @@ -11,7 +10,6 @@ from model import ( Effect, CardEffects, EffectType, - EffectTimes, Team, ) @@ -86,7 +84,7 @@ class Turn(Serializable): effect.effect_type is None or effect.effect_type == EffectType.CHAMPION_ACTION ): - if len(effect.mutex) == 0 and effect.times == None: + if len(effect.mutex) == 0 and effect.times is None: await self.use_effect_with_check(effect_id=str(effect.uuid)) else: for _ in range(effect.amount):