removed weird replace
This commit is contained in:
parent
bb30d02013
commit
f40a9264c3
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
};
|
};
|
||||||
|
|
||||||
if !output.contains("sensor") {
|
if !output.contains("sensor") {
|
||||||
drive_temps.push(output.replace('\n', "?"));
|
drive_temps.push(output.replace('\n', ""));
|
||||||
} else {
|
} else {
|
||||||
drive_temps.push(output[0..9].to_string() + " No Sensor");
|
drive_temps.push(output[0..9].to_string() + " No Sensor");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue