Commit a56704d4 authored by ale's avatar ale

make unique id comparison case-insensitive

parent eb8e2553
......@@ -65,7 +65,7 @@ func (m *Metadata) Uniques() []string {
out = append(out, fmt.Sprintf("isbn:%s", isbn))
// Call it 'sig', but it's just title+author(s).
sig := fmt.Sprintf("sig:%s|%s", m.Title, strings.Join(m.Creator, "|"))
sig := strings.ToLower(fmt.Sprintf("sig:%s|%s", m.Title, strings.Join(m.Creator, "|")))
out = append(out, sig)
return out
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment