From e6990f38cac57a2cbd2a45a6a4d1c093f681b8d6 Mon Sep 17 00:00:00 2001 From: Hydrus Network Developer Date: Fri, 8 Nov 2024 12:58:47 -0600 Subject: [PATCH] Fix for deduped file logs not saving Sorry! I tested it, but not enough. --- hydrus/client/importing/ClientImportFileSeeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydrus/client/importing/ClientImportFileSeeds.py b/hydrus/client/importing/ClientImportFileSeeds.py index 48953db9..97f636b0 100644 --- a/hydrus/client/importing/ClientImportFileSeeds.py +++ b/hydrus/client/importing/ClientImportFileSeeds.py @@ -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 ) }