forked from LBRYCommunity/lbry-sdk
linter
This commit is contained in:
parent
006494b1fa
commit
97c0dac876
1 changed files with 3 additions and 1 deletions
|
@ -5166,7 +5166,9 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
if isinstance(comment_ids, str):
|
||||
comment_ids = [comment_ids]
|
||||
|
||||
comments = await comment_client.jsonrpc_post(self.conf.comment_server, 'get_comments_by_id', comment_ids=comment_ids)
|
||||
comments = await comment_client.jsonrpc_post(
|
||||
self.conf.comment_server, 'get_comments_by_id', comment_ids=comment_ids
|
||||
)
|
||||
comments = comments['items']
|
||||
claim_ids = {comment['claim_id'] for comment in comments}
|
||||
claims = {cid: await self.ledger.get_claim_by_claim_id(wallet.accounts, claim_id=cid) for cid in claim_ids}
|
||||
|
|
Loading…
Reference in a new issue