mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
Handle case of story URLs from removed sites in rejects more gracefully.
This commit is contained in:
parent
9fb72efa15
commit
8ef5dcc1b3
2 changed files with 4 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue