We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3865ca commit dc54445Copy full SHA for dc54445
1 file changed
librespot/crypto.py
@@ -168,8 +168,7 @@ class Type:
168
@staticmethod
169
def parse(val: typing.Union[bytes, None]) -> typing.Union[bytes, None]:
170
for cmd in [
171
- Packet.Type.__dict__[attr]
172
- for attr in Packet.Type.__dict__
+ Packet.Type.__dict__[attr] for attr in Packet.Type.__dict__
173
if re.search("__.+?__", attr) is None
174
and type(Packet.Type.__dict__[attr]) is bytes
175
]:
0 commit comments