Skip to content
Snippets Groups Projects
Commit 89d2cba0 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Fix config for when curl is not installed

parent 24cabe3c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,7 +11,13 @@ import logging
from os import path
import os
 
from tornado import concurrent, curl_httpclient, httpclient, ioloop
from tornado import concurrent, httpclient, ioloop
try:
from tornado import curl_httpclient
except ImportError: # pragma: no cover
curl_httpclient = httpclient
curl_httpclient.CurlAsyncHTTPClient = httpclient.AsyncHTTPClient
 
from tornado_aws import exceptions
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment