forked from LBRYCommunity/lbry-sdk
fix exception arguments
This commit is contained in:
parent
4b88b191e7
commit
602cd5bd2e
1 changed files with 1 additions and 1 deletions
|
@ -3061,7 +3061,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
(bool) Subscription successful? (False only if channel doesn't exist)
|
(bool) Subscription successful? (False only if channel doesn't exist)
|
||||||
"""
|
"""
|
||||||
if download_all and download_latest is not None:
|
if download_all and download_latest is not None:
|
||||||
raise ConflictingInputValueError("Please set either download_latest or download_all, not both.")
|
raise ConflictingInputValueError("download_latest", "download_all")
|
||||||
return self.storage.add_subscription(channel_id, download_latest, download_all)
|
return self.storage.add_subscription(channel_id, download_latest, download_all)
|
||||||
|
|
||||||
@requires(WALLET_COMPONENT)
|
@requires(WALLET_COMPONENT)
|
||||||
|
|
Loading…
Reference in a new issue