Fixes bug in Team.season_stats where Port Adelaide stats actually return Adelaide.
This was due to a naive implementation of if {team_name} in String, which could not differentiate between Adelaide AND Port Adelaide.
Shout-out to @polar1510 who raises PR #22 10 months ago, which aimed to fix the same bug, and brought attention to this fix.
Addresses issue #23.
Fixes bug in
Team.season_stats
where Port Adelaide stats actually return Adelaide. This was due to a naive implementation ofif {team_name} in String
, which could not differentiate between Adelaide AND Port Adelaide.Shout-out to @polar1510 who raises PR #22 10 months ago, which aimed to fix the same bug, and brought attention to this fix.