Skip to content

Commit

Permalink
crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoleson authored Oct 1, 2024
1 parent 4dda93e commit 95c7d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ def abbrev_addons(t_c, r_c, cluster, x, rel, r):
cluster and rel are booleans for if the addons are present.
"""

rc_skillpath1 = str(r_c.skills.primary.path)
rc_skillpath1 = str(r_c.skills.primary.path) if r_c.skills.primary else None
rc_skillpath2 = str(r_c.skills.secondary.path) if r_c.skills.secondary else None

rc_skill1 = rc_skillpath1.split(".")[1].lower()
Expand Down

0 comments on commit 95c7d2d

Please sign in to comment.