From 97b2ba8fd22b75ef24d962aca85507ec7b8e94fb Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Mon, 17 Oct 2016 21:52:06 +0800 Subject: [PATCH] urlparse for python3 --- nhentai/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhentai/utils.py b/nhentai/utils.py index abcdaa7..ce671c7 100644 --- a/nhentai/utils.py +++ b/nhentai/utils.py @@ -18,6 +18,6 @@ def urlparse(url): try: from urlparse import urlparse except ImportError: - import urllib.parse as urlparse + from urllib import parse as urlparse return urlparse(url)