From aa0ed5db3d20fc144fe405201eebf6e1477a8a24 Mon Sep 17 00:00:00 2001 From: Paul Friederichsen Date: Sat, 30 Mar 2024 13:15:09 -0500 Subject: [PATCH] Fix importing posts with multiple file urls (#1537) --- hydrus/client/importing/ClientImportFileSeeds.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hydrus/client/importing/ClientImportFileSeeds.py b/hydrus/client/importing/ClientImportFileSeeds.py index 196f6d78..e79873d0 100644 --- a/hydrus/client/importing/ClientImportFileSeeds.py +++ b/hydrus/client/importing/ClientImportFileSeeds.py @@ -1590,6 +1590,8 @@ class FileSeed( HydrusSerialisable.SerialisableBase ): duplicate_file_seed.file_seed_data = child_url + duplicate_file_seed.Normalise() + duplicate_file_seed.SetReferralURL( url_for_child_referral ) duplicate_file_seed.AddRequestHeaders( self._request_headers )