argrento/huami-token

Invalid syntax

cockadoolie opened this issue · 1 comments

I've processed all the prerequisite steps, when I run the script [either amazefish or xiaomi login method] I get the following error:

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

Hi!
You should use python3, bacause -> -- is a part of python3 syntax.