Browse Source

Removed wiki: prefix on authors for imported stories from rpdata-as2storyimport

1.0
Gisle Aune 7 years ago
parent
commit
7a52504381
  1. 4
      cmd/rpdata-as2storyimport/main.go

4
cmd/rpdata-as2storyimport/main.go

@ -78,7 +78,7 @@ func main() {
}
}
story, err := story.New(result.Name, result.Author, result.Category, false, false, tags, publishDate, fictionalDate)
story, err := story.New(result.Name, result.Author[5:], result.Category, false, false, tags, publishDate, fictionalDate)
if err != nil {
log.Fatalln(err)
}
@ -96,7 +96,7 @@ func main() {
}
}
chapter, err := story.AddChapter(title, result.Author, result.Source, publishDate, fictionalDate)
chapter, err := story.AddChapter(title, result.Author[5:], result.Source, publishDate, fictionalDate)
if err != nil {
log.Fatalln(err)
}

Loading…
Cancel
Save