From 35f3887d79c0f963e3d0b3583dd94657ae43141a Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 24 Jan 2016 00:26:41 -0500 Subject: [PATCH] Don't try to download a blank name --- lbrynet/lbrynet_daemon/LBRYDaemon.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 27913e3df..3e9e6aaf6 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -556,8 +556,10 @@ class LBRYDaemon(xmlrpc.XMLRPC): @return: {'stream_hash': hex string, 'path': path of download} """ - d = self._download_name(name) - + if name: + d = self._download_name(name) + else: + d = defer.succeed('No name provided') return d def xmlrpc_stop_lbry_file(self, stream_hash):