Import the right JSON exception

This commit is contained in:
2021-12-26 21:38:50 +00:00
parent f7d686a36d
commit 0c9fadbdf6

View File

@@ -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