Skip to content

Commit

Permalink
fix python 3.11 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Nov 30, 2024
1 parent 81d4208 commit fb1eafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/chunithm/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def render_b30(player_data: PlayerData, records: list[Record]):
font=INTER_32,
)

updated_text = f"Generated at {datetime.now(UTC).strftime("%Y-%m-%d")}"
updated_text = f"Generated at {datetime.now(UTC).strftime('%Y-%m-%d')}"
updated_length = b30_draw.textlength(updated_text, INTER_32)

b30_draw.text(
Expand Down

0 comments on commit fb1eafd

Please sign in to comment.