Skip to content

Commit 81e8452

Browse files
author
Nick Shorter
committed
fixed basics
1 parent 1e7b76a commit 81e8452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/sports/apisports/baseball/baseball.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def run(self) -> SportApiResult:
9393
),
9494
schedule=schedule,
9595
standings = standings,
96-
sport=base.SportStructure.Basketball,
96+
sport=base.SportStructure.Baseball,
9797
games_played=len([game for game in schedule if game.status == base.GameStatus.Finished or game.status == base.GameStatus.Overtime]),
9898
wins=len([game for game in schedule if game.result == base.GameResult.WIN]),
9999
losses=len([game for game in schedule if game.result == base.GameResult.LOSS]),

lib/sports/apisports/basketball/basketball.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def url_builder(self, args, logo):
3333
return urls
3434

3535
async def run(self) -> SportApiResult:
36-
self.logger.info('Running baseball API')
36+
self.logger.info('Running Basketball API')
3737
parsed = self.parse_args()
3838
api_data = {}
3939
logo = logo_map[self.config.get('team_id')]

0 commit comments

Comments
 (0)