Set delete local data true by default

This commit is contained in:
Jeffrey Serio 2023-07-05 05:27:30 -05:00
parent c9677897d9
commit eedd50a88f

View File

@ -81,7 +81,7 @@ func RemoveTorrents(nameSubstr string, relver string, transmissionbt *transmissi
rmPayload := &transmissionrpc.TorrentRemovePayload{ rmPayload := &transmissionrpc.TorrentRemovePayload{
IDs: values(torrentsMap), IDs: values(torrentsMap),
DeleteLocalData: false, DeleteLocalData: true,
} }
if err := transmissionbt.TorrentRemove(rmPayload); err != nil { if err := transmissionbt.TorrentRemove(rmPayload); err != nil {