mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Strip commas from numChapters in CLI for urlchaptercount.
This commit is contained in:
parent
f059007bbb
commit
fb8c9c13be
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ def do_download(arg,
|
|||
return
|
||||
|
||||
if options.update and not options.force:
|
||||
urlchaptercount = int(adapter.getStoryMetadataOnly().getMetadata('numChapters'))
|
||||
urlchaptercount = int(adapter.getStoryMetadataOnly().getMetadata('numChapters').replace(',',''))
|
||||
|
||||
if chaptercount == urlchaptercount and not options.metaonly:
|
||||
print '%s already contains %d chapters.' % (output_filename, chaptercount)
|
||||
|
|
|
|||
Loading…
Reference in a new issue