mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a4b1689901
commit
b3fd7d3e01
@ -122,7 +122,7 @@ class PDFMetadata(object): # {{{
|
|||||||
self.author = force_unicode(self.author)
|
self.author = force_unicode(self.author)
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
class Page(QWebPage):
|
class Page(QWebPage): # {{{
|
||||||
|
|
||||||
def __init__(self, opts, log):
|
def __init__(self, opts, log):
|
||||||
self.log = log
|
self.log = log
|
||||||
@ -153,6 +153,7 @@ class Page(QWebPage):
|
|||||||
|
|
||||||
def javaScriptAlert(self, frame, msg):
|
def javaScriptAlert(self, frame, msg):
|
||||||
self.log(unicode(msg))
|
self.log(unicode(msg))
|
||||||
|
# }}}
|
||||||
|
|
||||||
class PDFWriter(QObject): # {{{
|
class PDFWriter(QObject): # {{{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user