This commit is contained in:
Simon Ding
2024-08-12 22:44:36 +08:00
parent 081338df24
commit b5f0b28c61

View File

@@ -177,7 +177,7 @@ func (c *Client) findEpisodeFilesPreMoving(historyId int) error {
}
}
} else {
if fi.IsDir() {
if !fi.IsDir() {
return fmt.Errorf("not season pack downloaded")
}
seasonNum, err := utils.SeasonId(his.TargetDir)