From e4ff4eca09550dda42161ef08f0f6c02aae1ebab Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 26 Aug 2023 07:40:57 -0700 Subject: [PATCH] removed incorrect replace --- status_cloud/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status_cloud/src/main.rs b/status_cloud/src/main.rs index 1a68b99..085f076 100644 --- a/status_cloud/src/main.rs +++ b/status_cloud/src/main.rs @@ -76,7 +76,7 @@ fn main() -> Result<(), Box> { let tmp = String::from_utf8_lossy(&output.stdout).into_owned(); if !tmp.contains("sensor") { - drive_temps.push(tmp.replace("\n", "Not running as sudo?")); + drive_temps.push(tmp.replace("\n", "")); } else { drive_temps.push(tmp[0..9].to_string() + " No Sensor"); }