Fix bug in compilation tag parsing

This commit is contained in:
Deluan 2020-01-21 17:31:24 -05:00
parent 99033fc55e
commit 654831f79d

View File

@ -197,7 +197,7 @@ func (m *Metadata) parseTuple(tagName string) (int, int) {
func (m *Metadata) parseBool(tagName string) bool {
if v, ok := m.tags[tagName]; ok {
i, _ := strconv.Atoi(v)
return i == 0
return i == 1
}
return false
}