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

This commit is contained in:
2018-10-16 18:30:24 +02:00
parent d3277c7476
commit daeaaf5fa9
+1 -1
View File
@@ -81,7 +81,7 @@ func main() {
}
category := models.StoryCategory(result.Category)
if category.IsValid() {
if !category.IsValid() {
log.Println(result.Name, "does not have a valid category:", result.Category)
continue
}