Skip to content

Commit

Permalink
Type cast integer to string
Browse files Browse the repository at this point in the history
Python 2 doesn't concatenate int and string directly
  • Loading branch information
Mithil467 committed Feb 6, 2021
1 parent 5f79ab1 commit 3cfd0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitype/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def print_stats(self, win):
win.addstr(
self.window_height - 1,
0,
" WPM: " + self.current_speed_wpm + " ",
" WPM: " + str(self.current_speed_wpm) + " ",
curses.color_pair(6),
)

Expand Down

0 comments on commit 3cfd0d9

Please sign in to comment.