1
This commit is contained in:
Alex Yatskov 2015-06-29 13:20:48 +09:00
parent 34eb387223
commit 890659a771

View File

@ -57,9 +57,10 @@ func fixModes(modes map[string]string) modeMap {
"atmospheric": ModeTypeProduct} "atmospheric": ModeTypeProduct}
for name := range fixedModes { for name := range fixedModes {
value, _ := modes[name] if value, ok := modes[name]; ok {
fixedModes[name] = strToModeType(value) fixedModes[name] = strToModeType(value)
} }
}
return fixedModes return fixedModes
} }