mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
dc636725fa
commit
79a0a7ab58
@ -495,7 +495,7 @@ class Source(Plugin):
|
|||||||
that could result in a generic cover image or a not found error.
|
that could result in a generic cover image or a not found error.
|
||||||
'''
|
'''
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def id_from_url(self, url):
|
def id_from_url(self, url):
|
||||||
'''
|
'''
|
||||||
Parse a URL and return a tuple of the form:
|
Parse a URL and return a tuple of the form:
|
||||||
@ -505,7 +505,6 @@ class Source(Plugin):
|
|||||||
'''
|
'''
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def identify_results_keygen(self, title=None, authors=None,
|
def identify_results_keygen(self, title=None, authors=None,
|
||||||
identifiers={}):
|
identifiers={}):
|
||||||
'''
|
'''
|
||||||
|
@ -1668,7 +1668,7 @@ class IdentifiersEdit(QLineEdit, ToMetadataMixin):
|
|||||||
text = unicode(QApplication.clipboard().text()).strip()
|
text = unicode(QApplication.clipboard().text()).strip()
|
||||||
if not text:
|
if not text:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
rules = msprefs['id_link_rules']
|
rules = msprefs['id_link_rules']
|
||||||
if rules:
|
if rules:
|
||||||
formatter = EvalFormatter()
|
formatter = EvalFormatter()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user