summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport/rddb.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-14 14:48:37 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-14 14:48:37 (GMT)
commit97b905e99b95b6611d8d87bda90b56e47f2a5040 (patch)
tree0ec9f5c2b6c70b156e867ee770c31c42074a936c /src/helsinki.at/rhimport/rddb.go
parent775a762b0c3d67d2ea19f288bec8c2ce857ec198 (diff)
fixed bug where some context values where not initialiized properly
Diffstat (limited to 'src/helsinki.at/rhimport/rddb.go')
-rw-r--r--src/helsinki.at/rhimport/rddb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helsinki.at/rhimport/rddb.go b/src/helsinki.at/rhimport/rddb.go
index b693c47..8b72f58 100644
--- a/src/helsinki.at/rhimport/rddb.go
+++ b/src/helsinki.at/rhimport/rddb.go
@@ -251,7 +251,7 @@ func (self *RdDb) getMusicInfo(group string) (result getMusicInfoResult) {
result.err = self.checkMusicGroupStmt.QueryRow(group).Scan(&result.norm_lvl, &result.trim_lvl)
if result.err != nil {
if result.err == sql.ErrNoRows {
- result.err = fmt.Errorf("music pool '%d' not found", group)
+ result.err = fmt.Errorf("music pool '%s' not found", group)
}
return
}