forked from LBRYCommunity/lbry-sdk
Update url handler
This commit is contained in:
parent
203f7e7ea6
commit
afac596a7b
2 changed files with 3 additions and 1 deletions
|
@ -288,8 +288,9 @@ class LBRYDaemon(xmlrpc.XMLRPC):
|
|||
'path': os.path.join(stream.downloader.download_directory,
|
||||
stream.downloader.file_name)}
|
||||
for stream in self.downloads if stream.stream_hash == stream_hash])
|
||||
d.addErrback(lambda _: 'UnknownNameError')
|
||||
return d
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
daemon = LBRYDaemon()
|
||||
|
|
|
@ -11,6 +11,7 @@ def main(args):
|
|||
|
||||
if len(args) > 1:
|
||||
print 'Too many args', args
|
||||
|
||||
else:
|
||||
resolved = daemon.resolve_name(str(args[0])[7:])
|
||||
daemon.download_name(str(args[0])[7:])
|
||||
|
|
Loading…
Reference in a new issue