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