Skip to content

Commit

Permalink
Bugfix: Extra space (aeon0#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
egut125 authored Apr 1, 2022
1 parent 33109ca commit 9f36e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/player_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_experience():
split_text = ocr_result.text.split(' ')

try:
split _text = split_text[split_text.index("EXPERIENCE:"):]
split_text = split_text[split_text.index("EXPERIENCE:"):]
current_exp = int(split_text[1].replace(',', '').replace('.', ''))
required_exp = int(split_text[3].replace(',', '').replace('.', ''))
return current_exp, required_exp
Expand Down

0 comments on commit 9f36e17

Please sign in to comment.