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:
deepsource-autofix[bot] 2021-05-23 00:42:48 +00:00 committed by GitHub
parent 319bde1639
commit 9504849f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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() \