From 6e0622287b83d3dd43e0745544ffbd201a8aee6e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 Apr 2019 15:37:43 +0530 Subject: [PATCH] oops --- src/calibre/gui2/store/stores/amazon_es_plugin.py | 2 +- src/calibre/gui2/store/stores/weightless_books_plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/stores/amazon_es_plugin.py b/src/calibre/gui2/store/stores/amazon_es_plugin.py index e8726f7c9c..68cc556042 100644 --- a/src/calibre/gui2/store/stores/amazon_es_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_es_plugin.py @@ -10,7 +10,7 @@ from contextlib import closing try: from urllib.parse import urlencode except ImportError: - from urllib2 import urlencode + from urllib import urlencode from lxml import html diff --git a/src/calibre/gui2/store/stores/weightless_books_plugin.py b/src/calibre/gui2/store/stores/weightless_books_plugin.py index 407dccc3fe..21a0b7cbf0 100644 --- a/src/calibre/gui2/store/stores/weightless_books_plugin.py +++ b/src/calibre/gui2/store/stores/weightless_books_plugin.py @@ -11,7 +11,7 @@ from contextlib import closing try: from urllib.parse import quote_plus except ImportError: - from urllib2 import quote_plus + from urllib import quote_plus from lxml import html