mirror of
https://codeberg.org/hyperreal/go-torrent-helper
synced 2024-11-01 08:43:10 +01:00
Set delete local data true by default
This commit is contained in:
parent
c9677897d9
commit
eedd50a88f
@ -81,7 +81,7 @@ func RemoveTorrents(nameSubstr string, relver string, transmissionbt *transmissi
|
||||
|
||||
rmPayload := &transmissionrpc.TorrentRemovePayload{
|
||||
IDs: values(torrentsMap),
|
||||
DeleteLocalData: false,
|
||||
DeleteLocalData: true,
|
||||
}
|
||||
|
||||
if err := transmissionbt.TorrentRemove(rmPayload); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user