From 2aa72666885d1c583ee0c42c4e55f39e908a7a98 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 21 Jun 2021 16:24:03 +0200 Subject: [PATCH] crypto: fix linting Signed-off-by: Jens Langhammer --- authentik/crypto/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/authentik/crypto/models.py b/authentik/crypto/models.py index afe30e6ee..1cfd71c79 100644 --- a/authentik/crypto/models.py +++ b/authentik/crypto/models.py @@ -57,7 +57,9 @@ class CertificateKeyPair(CreatedUpdatedModel): if not self._private_key and self._private_key != "": try: self._private_key = load_pem_private_key( - str.encode("\n".join([x.strip() for x in self.key_data.split("\n")])), + str.encode( + "\n".join([x.strip() for x in self.key_data.split("\n")]) + ), password=None, backend=default_backend(), )