PiotrMachowski / Xiaomi-cloud-tokens-extractor

This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
MIT License
3.23k stars 333 forks source link

SyntaxError: invalid syntax on return line 152 #12

Closed MrVinceZ closed 3 years ago

MrVinceZ commented 3 years ago

Hello !

I want to use this script on my Debian 9 and this is what happened when I run this `python token_extractor.py

File "token_extractor.py", line 152 return f"Android-7.1.1-1.0.0-ONEPLUS A3010-136-{agent_id} APP/xiaomi.smarthome APPV/62830" SyntaxError: invalid syntax`

Can you help me ? Thank you

PiotrMachowski commented 3 years ago

Which version of python do you have?

MrVinceZ commented 3 years ago

3.5

Problem resolve after an update to Python 3.8

Thank you