Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 7badc13

Browse files
committed
Fix flake issue for wtk.enums module
1 parent e579f11 commit 7badc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wtk/enums.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_fight_result(attack: FightChoice, defence: FightChoice) -> FightResult:
5959

6060
# perform type validation
6161
if not isinstance(attack, FightChoice) or \
62-
not isinstance(defence, FightChoice):
62+
not isinstance(defence, FightChoice):
6363
attack_cls = attack.__class__.__name__
6464
defence_cls = defence.__class__.__name__
6565
raise TypeError(

0 commit comments

Comments
 (0)