diff --git a/calibre-plugin/dialogs.py b/calibre-plugin/dialogs.py index 0758c128..32278e30 100644 --- a/calibre-plugin/dialogs.py +++ b/calibre-plugin/dialogs.py @@ -1222,7 +1222,7 @@ class RejectListDialog(SizePersistedDialog): title = unicode(self.rejects_table.item(row, 1).text()).strip() auth = unicode(self.rejects_table.item(row, 2).text()).strip() note = unicode(self.rejects_table.cellWidget(row, 3).currentText()).strip() - rejectrows.append(RejectUrlEntry(url,note,title,auth,self.get_reason_text(),book_id=book_id)) + rejectrows.append(RejectUrlEntry(url,note,title,auth,self.get_reason_text(),book_id=book_id,normalize=False)) return rejectrows def get_reject_list_ids(self): diff --git a/fanficfare/adapters/__init__.py b/fanficfare/adapters/__init__.py index a33ff700..1e0426d4 100644 --- a/fanficfare/adapters/__init__.py +++ b/fanficfare/adapters/__init__.py @@ -256,7 +256,9 @@ def get_section_url(url): if cls: return cls.get_section_url(url) else: - return None + ## might be a url from a removed adapter. + ## return unchanged in that case. + return url def getAdapter(config,url,anyurl=False):