From b98cd24e10aaedd6c70c6b07cb1c062c16aa88b1 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 7 Sep 2017 15:03:01 -0400 Subject: [PATCH] don't reflect empty last blob --- lbrynet/reflector/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/reflector/client/client.py b/lbrynet/reflector/client/client.py index 26882d186..d7a3ab96a 100644 --- a/lbrynet/reflector/client/client.py +++ b/lbrynet/reflector/client/client.py @@ -112,7 +112,7 @@ class EncryptedFileReflectorClient(Protocol): def get_validated_blobs(self, blobs_in_stream): def get_blobs(blobs): for (blob, _, _, blob_len) in blobs: - if blob: + if blob and blob_len: yield self.blob_manager.get_blob(blob, blob_len) dl = defer.DeferredList(list(get_blobs(blobs_in_stream)), consumeErrors=True)