diff --git a/cl/corpus_importer/tasks.py b/cl/corpus_importer/tasks.py index 068d758149..3cf516237d 100644 --- a/cl/corpus_importer/tasks.py +++ b/cl/corpus_importer/tasks.py @@ -44,7 +44,6 @@ ReadTimeout, RequestException, ) -from urllib3.exceptions import ReadTimeoutError from rest_framework.renderers import JSONRenderer from rest_framework.status import ( HTTP_400_BAD_REQUEST, @@ -52,6 +51,7 @@ HTTP_500_INTERNAL_SERVER_ERROR, HTTP_504_GATEWAY_TIMEOUT, ) +from urllib3.exceptions import ReadTimeoutError from cl.alerts.tasks import enqueue_docket_alert, send_alert_and_webhook from cl.audio.models import Audio