one further nuance with counts after testing, fixed

This commit is contained in:
2021-03-27 15:11:19 +11:00
parent 932d05b8e3
commit 62cbfcebdf

View File

@@ -251,6 +251,10 @@ class Duplicates:
if self.AddDupPath( hash ): if self.AddDupPath( hash ):
self.total_dups += 2 self.total_dups += 2
else: else:
# okay, if we are here, this path combo is also in an IP <-> SP combo.
# IF, this dup we tried to add was in SP<->SP, then there
# is another dup to count, if its IP<->IP (as we append these to the del list), then nothing further to count
if self.InStoragePath(self.dups_to_process[hash][0].d):
self.total_dups += 1 self.total_dups += 1
return return