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 I fire python3 example.py --recorded -mac xx:xx:xx:xx:xx:xx
I receive the following exception:
File "example.py", line 34, in <module>
band.start_get_previews_data(start_time)
File "/home/homer77/Programming/MiBand2/base.py", line 516, in start_get_previews_data
ts = year + month + day + hour + minute
TypeError: can't concat int to bytes
I already messed around a little with the struc.pack lines to translate everything into bytes type. But then the script breaks again because the byte type doesn't have recode method.
Is anyone able to reproduce this error?
The text was updated successfully, but these errors were encountered:
When I fire
python3 example.py --recorded -mac xx:xx:xx:xx:xx:xx
I receive the following exception:
I already messed around a little with the struc.pack lines to translate everything into bytes type. But then the script breaks again because the byte type doesn't have recode method.
Is anyone able to reproduce this error?
The text was updated successfully, but these errors were encountered: