.decode() string for sqlite

This commit is contained in:
Lex Berezhny 2018-07-12 14:25:49 -04:00 committed by Jack Robison
parent cb9b320ed7
commit e175e43082
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -49,7 +49,7 @@ class Publisher(object):
# check if we have a file already for this claim (if this is a publish update with a new stream) # check if we have a file already for this claim (if this is a publish update with a new stream)
old_stream_hashes = yield self.storage.get_old_stream_hashes_for_claim_id( old_stream_hashes = yield self.storage.get_old_stream_hashes_for_claim_id(
tx.get_claim_id(0), self.lbry_file.stream_hash tx.get_claim_id(0).decode(), self.lbry_file.stream_hash
) )
if old_stream_hashes: if old_stream_hashes:
for lbry_file in filter(lambda l: l.stream_hash in old_stream_hashes, for lbry_file in filter(lambda l: l.stream_hash in old_stream_hashes,