Skip to content

Commit

Permalink
Update sheet names
Browse files Browse the repository at this point in the history
  • Loading branch information
tesence committed May 4, 2024
1 parent b1d4170 commit 97b3f3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gumo/modules/league.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async def _get_runners(self):
Returns:
list: Rando League runners.
"""
worksheet = await self._get_worksheet("S3 Leaderboard")
worksheet = await self._get_worksheet("S4 Leaderboard")
part = functools.partial(worksheet.col_values, 1)
return (await self.bot.loop.run_in_executor(None, part))[2:]

Expand All @@ -176,7 +176,7 @@ async def _get_submissions(self, week_number: int):
Returns:
list: List of submissions
"""
worksheet = await self._get_worksheet("S3 Raw Data")
worksheet = await self._get_worksheet("S4 Raw Data")
records = await self.bot.loop.run_in_executor(None, worksheet.get_all_records)
return [r['Runner'] for r in records if r['Week Number'] == week_number]

Expand All @@ -186,7 +186,7 @@ async def _submit(self, *submissions):
Args:
submissions (list): List of Rando League submissions to submit.
"""
worksheet = await self._get_worksheet("S3 Raw Data")
worksheet = await self._get_worksheet("S4 Raw Data")
part = functools.partial(worksheet.append_rows, submissions, value_input_option="USER_ENTERED")
await self.bot.loop.run_in_executor(None, part)

Expand Down

0 comments on commit 97b3f3e

Please sign in to comment.