Import the right JSON exception
This commit is contained in:
parent
f7d686a36d
commit
0c9fadbdf6
|
@ -3,7 +3,7 @@ from twisted.logger import Logger
|
||||||
|
|
||||||
# Other library imports
|
# Other library imports
|
||||||
from json import dumps
|
from json import dumps
|
||||||
from json.decoder import JSONDecodeError
|
from simplejson.errors import JSONDecodeError
|
||||||
import requests
|
import requests
|
||||||
from cryptography.hazmat.primitives import serialization
|
from cryptography.hazmat.primitives import serialization
|
||||||
from cryptography.hazmat.backends import default_backend
|
from cryptography.hazmat.backends import default_backend
|
||||||
|
|
Loading…
Reference in New Issue