Format code with yapf

This commit fixes the style issues introduced in e5d6db0 according to the output
from yapf.

Details: https://deepsource.io/gh/kokarare1212/librespot-python/transform/35e5c958-abf8-4679-b405-049a0e3f5b39/
This commit is contained in:
deepsource-autofix[bot]
2021-09-14 10:30:00 +00:00
committed by GitHub
parent e5d6db0b24
commit 4c397681b6

View File

@@ -1105,7 +1105,11 @@ class Session(Closeable, MessageListener, SubListener):
sha1 = SHA1.new()
sha1.update(device_id.encode())
secret = sha1.digest()
base_key = PBKDF2(secret, username.encode(), 20, 0x100, hmac_hash_module=SHA1)
base_key = PBKDF2(secret,
username.encode(),
20,
0x100,
hmac_hash_module=SHA1)
sha1 = SHA1.new()
sha1.update(base_key)
key = sha1.digest() + b"\x00\x00\x00\x14"