From 1018d5deb3cce8f1d2fc4863d82e51539837daca Mon Sep 17 00:00:00 2001
From: rtz12 <koenig@fagott.pw>
Date: Tue, 11 Oct 2016 21:12:27 +0200
Subject: Man muss auch die richtigen Properties benutzen


diff --git a/tools/animeimporter/main.go b/tools/animeimporter/main.go
index 7d95b8e..81ba516 100644
--- a/tools/animeimporter/main.go
+++ b/tools/animeimporter/main.go
@@ -67,17 +67,17 @@ func InsertSeries(s WrappedSeries) int {
 	}
 	if s.Series.KanjiName != "" {
 		_, err := db.Exec("INSERT INTO grilist.appearance_names (appearance_id, name, name_type) VALUES ($1, $2, $3);",
-			dbID, s.Series.Name, 0)
+			dbID, s.Series.KanjiName, 0)
 		LogErr(err)
 	}
 	if s.Series.RomajiName != "" {
 		_, err := db.Exec("INSERT INTO grilist.appearance_names (appearance_id, name, name_type) VALUES ($1, $2, $3);",
-			dbID, s.Series.Name, 1)
+			dbID, s.Series.RomajiName, 1)
 		LogErr(err)
 	}
 	if s.Series.FuriganaName != "" {
 		_, err := db.Exec("INSERT INTO grilist.appearance_names (appearance_id, name, name_type) VALUES ($1, $2, $3);",
-			dbID, s.Series.Name, 3)
+			dbID, s.Series.FuriganaName, 3)
 		LogErr(err)
 	}
 	for _, v := range s.Series.OtherNames {
-- 
cgit v0.10.1