Skip to content

Commit

Permalink
Fix for deduped file logs not saving
Browse files Browse the repository at this point in the history
Sorry! I tested it, but not enough.
  • Loading branch information
hydrusnetwork committed Nov 8, 2024
1 parent caedea0 commit e6990f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrus/client/importing/ClientImportFileSeeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -2391,7 +2391,7 @@ def _GetFileSeedsToIndices( self ) -> typing.Dict[ FileSeed, int ]:
# 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 ) }

Expand Down

0 comments on commit e6990f3

Please sign in to comment.