Fix #763805 (version 0.7.56 crashes in Ubuntu i386 and amd64)

This commit is contained in:
Kovid Goyal 2011-04-17 11:53:32 -06:00
parent 0655424f16
commit 7da0ce12ae
2 changed files with 3 additions and 3 deletions

View file

@ -408,7 +408,7 @@ def urls_from_identifiers(identifiers): # {{{
{'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'])]
),

View file

@ -9,8 +9,8 @@
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