Skip to content

Commit d3a66f4

Browse files
committed
reformat
1 parent 08e750f commit d3a66f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cryptojwt/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import base64
2-
from email.message import EmailMessage
32
import functools
43
import importlib
54
import json
65
import re
76
import struct
87
import warnings
98
from binascii import unhexlify
9+
from email.message import EmailMessage
1010
from typing import List
1111

1212
from cryptojwt.exception import BadSyntax
@@ -270,6 +270,6 @@ def httpc_params_loader(httpc_params):
270270
def check_content_type(content_type, mime_type):
271271
"""Return True if the content type contains the MIME type"""
272272
msg = EmailMessage()
273-
msg['content-type'] = content_type
273+
msg["content-type"] = content_type
274274
mt = msg.get_content_type()
275275
return mime_type == mt

0 commit comments

Comments
 (0)