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}
|
||||
|
||||
for name := range fixedModes {
|
||||
value, _ := modes[name]
|
||||
fixedModes[name] = strToModeType(value)
|
||||
if value, ok := modes[name]; ok {
|
||||
fixedModes[name] = strToModeType(value)
|
||||
}
|
||||
}
|
||||
|
||||
return fixedModes
|
||||
|
Loading…
Reference in New Issue
Block a user