forked from LBRYCommunity/lbry-sdk
pylint fixes
This commit is contained in:
parent
fdd2562f32
commit
8ceaf66a81
2 changed files with 4 additions and 4 deletions
|
@ -658,7 +658,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
Resolve a name and return the estimated stream cost
|
||||
"""
|
||||
|
||||
resolved = await self.resolve(uri)
|
||||
resolved = await self.resolve([], uri)
|
||||
if resolved:
|
||||
claim_response = resolved[uri]
|
||||
else:
|
||||
|
@ -3722,7 +3722,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
|
||||
if uri or stream_hash or sd_hash:
|
||||
if uri:
|
||||
metadata = (await self.resolve(uri))[uri]
|
||||
metadata = (await self.resolve([], uri))[uri]
|
||||
sd_hash = utils.get_sd_hash(metadata)
|
||||
stream_hash = await self.storage.get_stream_hash_for_sd_hash(sd_hash)
|
||||
elif stream_hash:
|
||||
|
@ -3961,7 +3961,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
channel_url = comment.get('channel_url')
|
||||
if not channel_url:
|
||||
continue
|
||||
resolve_response = await self.resolve([channel_url])
|
||||
resolve_response = await self.resolve([], [channel_url])
|
||||
if isinstance(resolve_response[channel_url], Output):
|
||||
comment['is_channel_signature_valid'] = comment_client.is_comment_signed_by_channel(
|
||||
comment, resolve_response[channel_url]
|
||||
|
|
|
@ -20,7 +20,7 @@ from lbry.extras.daemon.Components import (
|
|||
UPNP_COMPONENT, EXCHANGE_RATE_MANAGER_COMPONENT
|
||||
)
|
||||
from lbry.extras.daemon.ComponentManager import ComponentManager
|
||||
from lbry.extras.daemon.exchange_rate_manager import ExchangeRateManager as BaseExchangeRateManager, ExchangeRate
|
||||
from lbry.extras.daemon.exchange_rate_manager import ExchangeRateManager as BaseExchangeRateManager
|
||||
from lbry.extras.daemon.storage import SQLiteStorage
|
||||
from lbry.blob.blob_manager import BlobManager
|
||||
from lbry.stream.reflector.server import ReflectorServer
|
||||
|
|
Loading…
Reference in a new issue