Fixed missing recursive progress callback allocation in segmented resource transfer

This commit is contained in:
Mark Qvist 2022-05-22 21:05:07 +02:00
parent e811d54d0f
commit d1cb07356c

View File

@ -567,7 +567,7 @@ class Resource:
else: else:
# Otherwise we'll recursively create the # Otherwise we'll recursively create the
# next segment of the resource # next segment of the resource
Resource(self.input_file, self.link, callback = self.callback, segment_index = self.segment_index+1, original_hash=self.original_hash) Resource(self.input_file, self.link, callback = self.callback, segment_index = self.segment_index+1, original_hash=self.original_hash, progress_callback = self.__progress_callback)
else: else:
pass pass
else: else: