Skip to content

Commit

Permalink
[Hockey] account for gdc/gdt "all"
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed Nov 13, 2023
1 parent ec49184 commit a4456b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hockey/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ async def get_schedule(
start_date: Optional[datetime] = None,
end_date: Optional[datetime] = None,
) -> Schedule:
if team:
if team is not None and team not in ["all"]:
if start_date is not None:
return await self.club_schedule_week(team, start_date)
return await self.club_schedule_season(team)
Expand Down

0 comments on commit a4456b2

Please sign in to comment.