fix exception arguments
This commit is contained in:
parent
8f88e28e50
commit
23a5ce3df7
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)
|
||||
"""
|
||||
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)
|
||||
|
||||
@requires(WALLET_COMPONENT)
|
||||
|
|
Loading…
Reference in a new issue