From d1cb07356cf8af3d37ef9815032c18f4b99f0731 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 22 May 2022 21:05:07 +0200 Subject: [PATCH] Fixed missing recursive progress callback allocation in segmented resource transfer --- RNS/Resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Resource.py b/RNS/Resource.py index 52c6903..6d40e44 100644 --- a/RNS/Resource.py +++ b/RNS/Resource.py @@ -567,7 +567,7 @@ class Resource: else: # Otherwise we'll recursively create the # 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: pass else: