Don't try to download a blank name
This commit is contained in:
parent
dacfc8b00a
commit
35f3887d79
1 changed files with 4 additions and 2 deletions
|
@ -556,8 +556,10 @@ class LBRYDaemon(xmlrpc.XMLRPC):
|
|||
@return: {'stream_hash': hex string, 'path': path of download}
|
||||
"""
|
||||
|
||||
if name:
|
||||
d = self._download_name(name)
|
||||
|
||||
else:
|
||||
d = defer.succeed('No name provided')
|
||||
return d
|
||||
|
||||
def xmlrpc_stop_lbry_file(self, stream_hash):
|
||||
|
|
Loading…
Reference in a new issue