removed weird replace

pull/2/head
Nickiel12 1 year ago
parent bb30d02013
commit f40a9264c3

@ -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…
Cancel
Save