You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Chess.com user hasn't played some particular time control at least once, the API returns a rating stat of "Unrated". The app tries to parse this as an integer, and crashes with:
$ pixlet render chesscom_elo.star username=nzdominic
Error: error running script: Traceback (most recent call last):
chesscom_elo.star/chesscom_elo.star:146:35: in main
Error in int: int: invalid literal with base 10: Unrated
(This is despite what is selected for the game types to display, because all the stats are parsed before any are displayed)
The text was updated successfully, but these errors were encountered:
When a Chess.com user hasn't played some particular time control at least once, the API returns a rating stat of
"Unrated"
. The app tries to parse this as an integer, and crashes with:(This is despite what is selected for the game types to display, because all the stats are parsed before any are displayed)
The text was updated successfully, but these errors were encountered: