mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Warning if existing epub has no recognizable chapters.
This commit is contained in:
parent
92c60d065e
commit
8b31ba59af
1 changed files with 2 additions and 0 deletions
|
|
@ -976,6 +976,8 @@ class FanFictionDownLoaderPlugin(InterfaceAction):
|
|||
skip_date_update = True
|
||||
elif chaptercount > urlchaptercount:
|
||||
raise NotGoingToDownload("Existing epub contains %d chapters, web site only has %d. Use Overwrite to force update." % (chaptercount,urlchaptercount),'dialog_error.png')
|
||||
elif chaptercount == 0:
|
||||
raise NotGoingToDownload("FFDL doesn't recognize chapters in existing epub, epub is probably from a different source. Use Overwrite to force update.",'dialog_error.png')
|
||||
|
||||
if collision == OVERWRITE and \
|
||||
db.has_format(book_id,formmapping[fileform],index_is_id=True):
|
||||
|
|
|
|||
Loading…
Reference in a new issue