Import the right JSON exception

This commit is contained in:
Mark Veidemanis 2021-12-26 21:38:50 +00:00
parent f7d686a36d
commit 0c9fadbdf6
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

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