From 0c9fadbdf629fa4df45f7c1b7e278232d698d60b Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 26 Dec 2021 21:38:50 +0000 Subject: [PATCH] Import the right JSON exception --- handler/revolut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/revolut.py b/handler/revolut.py index d57ebc9..bcbdc67 100644 --- a/handler/revolut.py +++ b/handler/revolut.py @@ -3,7 +3,7 @@ from twisted.logger import Logger # Other library imports from json import dumps -from json.decoder import JSONDecodeError +from simplejson.errors import JSONDecodeError import requests from cryptography.hazmat.primitives import serialization from cryptography.hazmat.backends import default_backend