Polish Round 2 (#2411)
This commit is contained in:
parent
ba3e760b31
commit
a2fd87c454
35 changed files with 213 additions and 95 deletions
|
|
@ -158,10 +158,14 @@ public class WordCountAnalyzerService : IWordCountAnalyzerService
|
|||
{
|
||||
// This compares if it's changed since a file scan only
|
||||
var firstFile = chapter.Files.FirstOrDefault();
|
||||
if (firstFile == null) return;
|
||||
if (!_cacheHelper.HasFileChangedSinceLastScan(firstFile.LastFileAnalysis, forceUpdate,
|
||||
if (firstFile == null || !_cacheHelper.HasFileChangedSinceLastScan(firstFile.LastFileAnalysis,
|
||||
forceUpdate,
|
||||
firstFile))
|
||||
{
|
||||
volume.WordCount += chapter.WordCount;
|
||||
series.WordCount += chapter.WordCount;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (series.Format == MangaFormat.Epub)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue