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
File "bled112_scanner.py", line 372, in bgapi_parse
for i in range((len(this_field) - 1) / 2):
TypeError: 'float' object cannot be interpreted as an integer
1/2
0 #Python2
0.5 #Python3
so for i in range((len(this_field) - 1) / 2):
Should be changed to
for i in range((len(this_field) - 1) // 2):
The text was updated successfully, but these errors were encountered:
File "bled112_scanner.py", line 372, in bgapi_parse
for i in range((len(this_field) - 1) / 2):
TypeError: 'float' object cannot be interpreted as an integer
so for i in range((len(this_field) - 1) / 2):
Should be changed to
for i in range((len(this_field) - 1) // 2):
The text was updated successfully, but these errors were encountered: