cloudpets-web-bluetooth icon indicating copy to clipboard operation
cloudpets-web-bluetooth copied to clipboard

def download_audio(filename: str): Invalid Syntax

Open Daigtas opened this issue 2 years ago • 1 comments
trafficstars

i am trying to run local server with python2.7 and getting this error. File "cloudpets_server.py", line 64 def download_audio(filename: str): SyntaxError: invalid syntax And it is pointing to the filename: str

Daigtas avatar Dec 06 '22 12:12 Daigtas

This project is not compatible with Python 2.7. The ": str" is a type annotation, first added in python 3.5 (released 2015).

jepler avatar Jul 29 '23 02:07 jepler