diff options
Diffstat (limited to 'examples/tqdm_wget.py')
-rw-r--r-- | examples/tqdm_wget.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/tqdm_wget.py b/examples/tqdm_wget.py index 8663e5a..ee8b9f3 100644 --- a/examples/tqdm_wget.py +++ b/examples/tqdm_wget.py @@ -20,11 +20,8 @@ Options: The local file path in which to save the url [default: /dev/null]. """ -try: - from urllib import request as urllib -except ImportError: # py2 - import urllib from os import devnull +from urllib import request as urllib from docopt import docopt |