mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
[Core] Fix core.remove_torrents return value on error
This commit is contained in:
parent
c204b63653
commit
dbadb9b0a6
1 changed files with 4 additions and 4 deletions
|
@ -349,10 +349,10 @@ class Core(component.Component):
|
||||||
remove_data (bool): If True, also remove the downloaded data.
|
remove_data (bool): If True, also remove the downloaded data.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
list of tuples: A list tuples containing all the errors, empty list if no errors occured
|
list: An empty list if no errors occurred otherwise the list contains
|
||||||
tuple format:
|
tuples of strings, a torrent ID and an error message. For example:
|
||||||
0: str: torrent-id
|
|
||||||
1: str: Error message
|
[("<torrent_id>", "Error removing torrent")]
|
||||||
|
|
||||||
"""
|
"""
|
||||||
log.info("Removing %d torrents from core.", len(torrent_ids))
|
log.info("Removing %d torrents from core.", len(torrent_ids))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue