Browse Source

rpdata-as2storyimport: Fixed category vailidty check failing when it is valid, not when it isn't.

1.0 1.0.1
Gisle Aune 6 years ago
parent
commit
daeaaf5fa9
  1. 2
      cmd/rpdata-as2storyimport/main.go

2
cmd/rpdata-as2storyimport/main.go

@ -81,7 +81,7 @@ func main() {
} }
category := models.StoryCategory(result.Category) category := models.StoryCategory(result.Category)
if category.IsValid() {
if !category.IsValid() {
log.Println(result.Name, "does not have a valid category:", result.Category) log.Println(result.Name, "does not have a valid category:", result.Category)
continue continue
} }

Loading…
Cancel
Save