Have add_torrent_file return a torrent_id on successful add
This commit is contained in:
parent
191d83c4be
commit
061cd96096
|
@ -258,6 +258,8 @@ class Core(component.Component):
|
|||
log.error("There was an error adding the torrent file %s", filename)
|
||||
log.exception(e)
|
||||
|
||||
return torrent_id
|
||||
|
||||
@export
|
||||
def add_torrent_url(self, url, options):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue