Fixes
This commit is contained in:
parent
34eb387223
commit
890659a771
5
util.go
5
util.go
@ -57,8 +57,9 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user