diff --git a/src/calibre/ebooks/metadata/sources/base.py b/src/calibre/ebooks/metadata/sources/base.py index f3ef0a7bc7..0513209277 100644 --- a/src/calibre/ebooks/metadata/sources/base.py +++ b/src/calibre/ebooks/metadata/sources/base.py @@ -495,7 +495,7 @@ class Source(Plugin): that could result in a generic cover image or a not found error. ''' return None - + def id_from_url(self, url): ''' Parse a URL and return a tuple of the form: @@ -505,7 +505,6 @@ class Source(Plugin): ''' return None - def identify_results_keygen(self, title=None, authors=None, identifiers={}): ''' diff --git a/src/calibre/gui2/metadata/basic_widgets.py b/src/calibre/gui2/metadata/basic_widgets.py index 79a996eb21..0cb8ccdae4 100644 --- a/src/calibre/gui2/metadata/basic_widgets.py +++ b/src/calibre/gui2/metadata/basic_widgets.py @@ -1668,7 +1668,7 @@ class IdentifiersEdit(QLineEdit, ToMetadataMixin): text = unicode(QApplication.clipboard().text()).strip() if not text: return False - + rules = msprefs['id_link_rules'] if rules: formatter = EvalFormatter()