Allow detection of waiting_file_selection
This commit is contained in:
@@ -32,7 +32,7 @@ func HandleDeleteFile(directory, torrentName, fileName string, torMgr *torrent.T
|
||||
return fmt.Errorf("cannot find file %s", fileName)
|
||||
}
|
||||
file.Link = "unselect"
|
||||
if torMgr.CheckDeletedState(torrent) {
|
||||
if torMgr.CheckDeletedStatus(torrent) {
|
||||
torMgr.Delete(torrentName, true)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user