Skip to content

Commit

Permalink
use playwright_async
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Jan 29, 2025
1 parent 2df24dc commit ec1c93d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cogs/profiles/leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async def leaderboard(
).set_caption(f"Leaderboard sorted by {sort} | Page {page_index}"),
buffer,
dpi=200,
table_conversion="playwright",
table_conversion="playwright_async",
)
buffer.seek(0)

Expand Down
2 changes: 1 addition & 1 deletion utils/maths/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def create_table(mogi: Mogi) -> BytesIO:
subset=["Change"],
),
buffer,
table_conversion="playwright",
table_conversion="playwright_async",
)

buffer.seek(0)
Expand Down

0 comments on commit ec1c93d

Please sign in to comment.