minim
minim copied to clipboard
SyntaxWarnings in file spotify.py
The Python 3.12.3 shows warnings in file spotify.py:
>>> from minim.spotify import WebAPI
/home/pi/minim/src/minim/spotify.py:785: SyntaxWarning: invalid escape sequence '\?'
re.search(f'{self._redirect_uri}\?(.*?)"',
/home/pi/minim/src/minim/spotify.py:1153: SyntaxWarning: invalid escape sequence '\d'
self._port = re.search("localhost:(\d+)",