Skip to content

Commit

Permalink
Missed ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
emericklaw committed Jun 27, 2024
1 parent c28d63a commit e14dd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/app_components/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def fill_line(ctx, text, font_size, width_for_line):
remaining_word = word
while ctx.text_width(remaining_word) > width_for_line:
word = word[:-1]
check_word = (line + " " + word + '-').strip()
check_word = (line + " " + word + "-").strip()
if ctx.text_width(check_word) <= width_for_line:
lines.append(check_word)
line = ""
Expand Down

0 comments on commit e14dd26

Please sign in to comment.