formatting

This commit is contained in:
YouROK
2021-04-06 10:43:18 +03:00
parent 323c81eca1
commit f1e6bc5982

View File

@@ -121,7 +121,7 @@ func findFileNamesakes(files []*state.TorrentFileStat, file *state.TorrentFileSt
var namesakes []*state.TorrentFileStat
for _, f := range files {
if strings.Contains(f.Path, name) { //external tracks always include name of videofile
if (f != file) { //exclude itself
if f != file { //exclude itself
namesakes = append(namesakes, f)
}
}