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

This commit is contained in:
2018-07-07 15:15:02 +02:00
parent 866a5056be
commit 7a52504381
+2 -2
View File
@@ -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)
}