mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 15:10:49 +08:00
fix: name empty
This commit is contained in:
@@ -391,6 +391,9 @@ func maybeSeasonPack(s string) bool {
|
||||
|
||||
func parseName(name string) *Info {
|
||||
meta := &Info{Season: 1}
|
||||
if strings.TrimSpace(name) == "" {
|
||||
return meta
|
||||
}
|
||||
|
||||
season, p := findSeason(name)
|
||||
if season == -1 {
|
||||
|
||||
Reference in New Issue
Block a user