Fixers
This commit is contained in:
@@ -45,7 +45,7 @@ func ServeTorrentsList(directory string, torMgr *torrent.TorrentManager) ([]byte
|
||||
sort.Strings(torrentNames)
|
||||
for _, torrentName := range torrentNames {
|
||||
tor, ok := torrents.Get(torrentName)
|
||||
if !ok || tor.AllInProgress() {
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
buf.WriteString(fmt.Sprintf("<li><a href=\"/http/%s/\">%s</a></li>", filepath.Join(directory, url.PathEscape(torMgr.GetKey(tor))), torMgr.GetKey(tor)))
|
||||
|
||||
Reference in New Issue
Block a user