argrento / huami-token

Script to obtain watch or band bluetooth token from Huami servers
MIT License
412 stars 94 forks source link

Error in line 65 #34

Closed newsyy closed 3 years ago

newsyy commented 3 years ago

I keep getting this error:

File "huami_token.py", line 65 def get_access_token(self) -> str: ^ SyntaxError: invalid syntax

Would hugely appreciate any help with hot to make it work?

argrento commented 3 years ago

You should use python3.

newsyy commented 3 years ago

omg yes, sorry, it works now, i'm extremely new to all of this, thanks so much!!!