Skip to content

Commit

Permalink
fix package not found issue
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek97 committed May 27, 2017
1 parent fde11ca commit 74f2653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ctdl/ctdl.py
Expand Up @@ -6,7 +6,7 @@
from urllib.request import urlopen
except ImportError:
from urllib2 import urlopen
from requests.packages.urllib3.util.retry import Retry
from urllib3.util import Retry
from requests.adapters import HTTPAdapter
from bs4 import BeautifulSoup
from .downloader import download_series, download_parallel
Expand Down
4 changes: 2 additions & 2 deletions ctdl/downloader.py
@@ -1,7 +1,7 @@
import os
import threading
import requests
from requests.packages.urllib3.util.retry import Retry
from urllib3.util import Retry
from requests.adapters import HTTPAdapter
from tqdm import tqdm, trange

Expand Down Expand Up @@ -113,4 +113,4 @@ def download_series(urls, directory, min_file_size, max_file_size, no_redirects)
for url in urls:
download(url, directory, min_file_size, max_file_size, no_redirects)

print("Download complete.")
print("Download complete.")

0 comments on commit 74f2653

Please sign in to comment.