Skip manually created characters in date patch

This commit is contained in:
Eduard Urbach 2018-04-24 02:46:20 +02:00
parent 77147c5bb8
commit ebefe894ee

View File

@ -18,6 +18,11 @@ func main() {
irregular := time.Duration(0) irregular := time.Duration(0)
for character := range arn.StreamCharacters() { for character := range arn.StreamCharacters() {
// Skip manually created characters
if character.CreatedBy != "" {
continue
}
malID := character.GetMapping("myanimelist/character") malID := character.GetMapping("myanimelist/character")
if malID != "" { if malID != "" {