Merge pull request #30 from madneal/main

fix for a judgement
This commit is contained in:
影舞者 2021-03-03 09:36:49 +08:00 committed by GitHub
commit 423c0bebea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,11 +32,7 @@ func Execute(PocInfo common.PocInfo) error {
req.Header.Set("Cookie", PocInfo.Cookie) req.Header.Set("Cookie", PocInfo.Cookie)
} }
if PocInfo.PocName != "" { lib.CheckMultiPoc(req, Pocs, PocInfo.Num, PocInfo.PocName)
lib.CheckMultiPoc(req, Pocs, PocInfo.Num, PocInfo.PocName)
} else {
lib.CheckMultiPoc(req, Pocs, PocInfo.Num, "")
}
return nil return nil
} }