Fix for deduped file logs not saving

Sorry! I tested it, but not enough.
This commit is contained in:
Hydrus Network Developer 2024-11-08 12:58:47 -06:00
parent caedea0b47
commit e6990f38ca
No known key found for this signature in database
GPG Key ID: 76249F053212133C
1 changed files with 1 additions and 1 deletions

View File

@ -2391,7 +2391,7 @@ class FileSeedCache( HydrusSerialisable.SerialisableBase ):
# woah, we have some dupes! maybe url classes changed and renormalisation happened, maybe hydev fixed some bad dupe file paths or something
# let's correct ourselves now we have the chance; this guy simply cannot handle dupes atm
self._file_seeds = HydrusData.DedupeList( self._file_seeds )
self._file_seeds = HydrusSerialisable.SerialisableList( HydrusData.DedupeList( self._file_seeds ) )
self._file_seeds_to_indices = { file_seed : index for ( index, file_seed ) in enumerate( self._file_seeds ) }