removed weird replace

This commit is contained in:
Nickiel12 2023-08-26 08:39:50 -07:00
parent bb30d02013
commit f40a9264c3

View file

@ -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");
} }