Format code with yapf
This commit fixes the style issues introduced in 319bde1
according to the output
from yapf.
Details: https://deepsource.io/gh/kokarare1212/librespot-python/transform/dd374c27-a6ab-4bfb-a2f5-7a994081be26/
This commit is contained in:
parent
319bde1639
commit
9504849f60
|
@ -64,7 +64,8 @@ def main():
|
|||
|
||||
def response(client: socket.socket, uri: str) -> tuple[str, list, bytes, bool]:
|
||||
if re.search(r"^/audio/track/([0-9a-zA-Z]{22})$", uri) is not None:
|
||||
track_id_search = re.search(r"^/audio/track/(?P<TrackID>[0-9a-zA-Z]{22})$", uri)
|
||||
track_id_search = re.search(
|
||||
r"^/audio/track/(?P<TrackID>[0-9a-zA-Z]{22})$", uri)
|
||||
track_id_str = track_id_search.group("TrackID")
|
||||
track_id = TrackId.from_base62(track_id_str)
|
||||
stream = session.content_feeder() \
|
||||
|
|
Loading…
Reference in New Issue