Skip to content

Fix a strange case where round_division could be missing#792

Merged
ZombieHDGaming merged 2 commits intojoaorb64:mainfrom
sticks-stuff:fix/missing-round-division
Dec 5, 2024
Merged

Fix a strange case where round_division could be missing#792
ZombieHDGaming merged 2 commits intojoaorb64:mainfrom
sticks-stuff:fix/missing-round-division

Conversation

@sticks-stuff
Copy link
Copy Markdown
Contributor

Fixes this strange error the leads to only the round name, and no other data loading.

Traceback (most recent call last):
  File "I:\TournamentStreamHelper\src\TSHScoreboardWidget.py", line 1075, in UpdateSetData
    self.ChangeSetData(data)
  File "I:\TournamentStreamHelper\src\TSHScoreboardWidget.py", line 938, in ChangeSetData
    if data.get("isPools", False) is False and round_division > 6:
                                               ^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'NoneType' and 'int'

Other people have reported this issue as well (I suspect it was the same issue here)

@ZombieHDGaming ZombieHDGaming merged commit 1569bd0 into joaorb64:main Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants