From dc54445e9af1a3e06c94cce871ded4e74c509949 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 26 Dec 2021 04:59:57 +0000 Subject: [PATCH] Format code with yapf --- librespot/crypto.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/librespot/crypto.py b/librespot/crypto.py index a0a2076..6ae8c23 100644 --- a/librespot/crypto.py +++ b/librespot/crypto.py @@ -168,8 +168,7 @@ class Packet: @staticmethod def parse(val: typing.Union[bytes, None]) -> typing.Union[bytes, None]: for cmd in [ - Packet.Type.__dict__[attr] - for attr in Packet.Type.__dict__ + Packet.Type.__dict__[attr] for attr in Packet.Type.__dict__ if re.search("__.+?__", attr) is None and type(Packet.Type.__dict__[attr]) is bytes ]: