Skip to content

Commit

Permalink
referenced before assigment bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
OwOHamper committed Aug 25, 2022
1 parent ca31d1c commit e3f8644
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import requests
from colr import color

version = "2.31"
version = "2.32"
enablePrivateLogging = True
hide_names = True
hide_levels = True
Expand Down
5 changes: 4 additions & 1 deletion src/player_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def get_stats(self, puuid):
final["hs"] = hs
return final
except IndexError: #no matches
return final
return {
"kd": "N/a",
"hs": "N/a"
}


if __name__ == "__main__":
Expand Down

0 comments on commit e3f8644

Please sign in to comment.