From 9504849f60ec2f5dbc67f9c13855244345f38d9f Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 23 May 2021 00:42:48 +0000 Subject: [PATCH] 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/ --- examples/server/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/server/main.py b/examples/server/main.py index 9b041ae..9addbf6 100644 --- a/examples/server/main.py +++ b/examples/server/main.py @@ -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[0-9a-zA-Z]{22})$", uri) + track_id_search = re.search( + r"^/audio/track/(?P[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() \