Fix sample check rd

This commit is contained in:
Mukhtar Akere
2025-03-31 08:23:11 +01:00
parent f9addaed36
commit 5792305a66
4 changed files with 5 additions and 6 deletions

View File

@@ -113,7 +113,7 @@ func flattenFiles(files []MagnetFile, parentPath string, index *int) map[string]
fileName := filepath.Base(f.Name)
// Skip sample files
if utils.IsSampleFile(fileName) {
if utils.IsSampleFile(f.Name) {
continue
}
if !cfg.IsAllowedFile(fileName) {