fix url_transparent handling (closes #95)
This commit is contained in:
parent
743cff1c87
commit
a2d5cd0b1b
|
|
@ -172,7 +172,7 @@ class DownloadQueue:
|
|||
self.event.set()
|
||||
await self.notifier.added(dl)
|
||||
return {'status': 'ok'}
|
||||
elif etype == 'url':
|
||||
elif etype.startswith('url'):
|
||||
return await self.add(entry['url'], quality, format, already)
|
||||
return {'status': 'error', 'msg': f'Unsupported resource "{etype}"'}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue