From 59ce5900e0db9fa09632ac1ee74e351cb550772b Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 15 Apr 2021 14:27:58 +0200 Subject: [PATCH] Appease formatter --- djangoldp_webpushnotification/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/djangoldp_webpushnotification/models.py b/djangoldp_webpushnotification/models.py index 8e8268f..32788cd 100644 --- a/djangoldp_webpushnotification/models.py +++ b/djangoldp_webpushnotification/models.py @@ -18,7 +18,6 @@ class VAPIDKeyset(models.Model): padding = len(key_str) % 4 key_str += b"=" * padding key = SigningKey.from_string( - urlsafe_b64decode(key_str), - curve=NIST256p + urlsafe_b64decode(key_str), curve=NIST256p ).get_verifying_key() return urlsafe_b64encode(b"\x04" + key.to_string()).strip(b"=")