diff --git a/src/calibre/ebooks/metadata/sources/identify.py b/src/calibre/ebooks/metadata/sources/identify.py index 87c1e9a644..82e9a14d12 100644 --- a/src/calibre/ebooks/metadata/sources/identify.py +++ b/src/calibre/ebooks/metadata/sources/identify.py @@ -408,7 +408,7 @@ if __name__ == '__main__': # tests {{{ {'identifiers':{'isbn': '9780307459671'}, 'title':'Invisible Gorilla', 'authors':['Christopher Chabris']}, [title_test('The Invisible Gorilla', - exact=True), authors_test(['Christopher F. Chabris', 'Daniel Simons'])] + exact=True), authors_test(['Christopher Chabris', 'Daniel Simons'])] ), diff --git a/src/calibre/gui2/store/web_control.py b/src/calibre/gui2/store/web_control.py index 492f17c719..874328f872 100644 --- a/src/calibre/gui2/store/web_control.py +++ b/src/calibre/gui2/store/web_control.py @@ -9,8 +9,8 @@ __docformat__ = 'restructuredtext en' import os from urlparse import urlparse -from PyQt4.Qt import (QWebView, QWebPage, QNetworkCookieJar, - QFileDialog, QNetworkProxy) +from PyQt4.Qt import QNetworkCookieJar, QFileDialog, QNetworkProxy +from PyQt4.QtWebKit import QWebView, QWebPage from calibre import USER_AGENT, get_proxies, get_download_filename from calibre.ebooks import BOOK_EXTENSIONS