Skip to content

Commit

Permalink
Update card.py
Browse files Browse the repository at this point in the history
  • Loading branch information
poslogithub committed Mar 21, 2022
1 parent 221fef1 commit 593765e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/mtga/models/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ def to_serializable(self):

@property
def is_creature_card(self):
if "クリーチャー" in self.card_types or "Creature" in self.card_types:
if "クリーチャー" in self.card_type or "Creature" in self.card_type:
return True
else:
return False

@property
def is_land_card(self):
if "土地" in self.card_types or "Land" in self.card_types:
if "土地" in self.card_type or "Land" in self.card_type:
return True
else:
return False
Expand Down

0 comments on commit 593765e

Please sign in to comment.