Skip to content

Commit

Permalink
Fixed bug caused by Xml file change
Browse files Browse the repository at this point in the history
  • Loading branch information
pramberg451 committed Jul 26, 2021
1 parent bf1ca9b commit 6146b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GwentUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def get_card_abilities(self):

for ability in root.iter('Ability'):
if ability.attrib['Type'] == "CardAbility":
card_id = ability.attrib['Template']
card_id = ability.attrib['Id']
abilities[card_id] = ability

return abilities
Expand Down

0 comments on commit 6146b43

Please sign in to comment.