Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraust authored Aug 12, 2024
2 parents d153882 + cf0ee86 commit c544a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions combatlog/templatetags/combatlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def summary(instance):
@register.simple_tag
def damage_out_breakdown(instance, player, handle):
"""Get the player's Damage Out Table from the metadata by their name and handle"""

if instance.damage_out is None:
return None

name = f"{player}{handle}"
for table in instance.damage_out["players"]:
if table["name"] == name:
Expand Down

0 comments on commit c544a4c

Please sign in to comment.