Import the right JSON exception
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user