More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
This commit is contained in:
@ -499,8 +499,8 @@ func (v *Vehicle) GetClimatePresets() {
|
|||||||
|
|
||||||
re1 := regexp.MustCompile(`\"`)
|
re1 := regexp.MustCompile(`\"`)
|
||||||
result := re1.ReplaceAllString(string(tmp.Data), "")
|
result := re1.ReplaceAllString(string(tmp.Data), "")
|
||||||
// re2 := regexp.MustCompile(`([\\\\])`)
|
re2 := regexp.MustCompile(`\\\`)
|
||||||
// result = re2.ReplaceAllString(result, "")
|
result = re2.ReplaceAllString(result, "\"")
|
||||||
v.client.logger.Debug("subaru climate presets trimmed http output", "body", result)
|
v.client.logger.Debug("subaru climate presets trimmed http output", "body", result)
|
||||||
|
|
||||||
var cProfiles []ClimateProfile
|
var cProfiles []ClimateProfile
|
||||||
|
Reference in New Issue
Block a user