mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #763805 (version 0.7.56 crashes in Ubuntu i386 and amd64)
This commit is contained in:
parent
0655424f16
commit
7da0ce12ae
@ -408,7 +408,7 @@ if __name__ == '__main__': # tests {{{
|
|||||||
{'identifiers':{'isbn': '9780307459671'},
|
{'identifiers':{'isbn': '9780307459671'},
|
||||||
'title':'Invisible Gorilla', 'authors':['Christopher Chabris']},
|
'title':'Invisible Gorilla', 'authors':['Christopher Chabris']},
|
||||||
[title_test('The Invisible Gorilla',
|
[title_test('The Invisible Gorilla',
|
||||||
exact=True), authors_test(['Christopher F. Chabris', 'Daniel Simons'])]
|
exact=True), authors_test(['Christopher Chabris', 'Daniel Simons'])]
|
||||||
|
|
||||||
),
|
),
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ __docformat__ = 'restructuredtext en'
|
|||||||
import os
|
import os
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse
|
||||||
|
|
||||||
from PyQt4.Qt import (QWebView, QWebPage, QNetworkCookieJar,
|
from PyQt4.Qt import QNetworkCookieJar, QFileDialog, QNetworkProxy
|
||||||
QFileDialog, QNetworkProxy)
|
from PyQt4.QtWebKit import QWebView, QWebPage
|
||||||
|
|
||||||
from calibre import USER_AGENT, get_proxies, get_download_filename
|
from calibre import USER_AGENT, get_proxies, get_download_filename
|
||||||
from calibre.ebooks import BOOK_EXTENSIONS
|
from calibre.ebooks import BOOK_EXTENSIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user