linting long line.
This commit is contained in:
parent
7a910ab962
commit
8937ea355e
1 changed files with 4 additions and 1 deletions
|
|
@ -76,7 +76,10 @@ while True:
|
||||||
MemUsage = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
MemUsage = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
||||||
cmd = "df -h | awk '$NF==\"/\"{printf \"Disk: %d/%d GB %s\", $3,$2,$5}'"
|
cmd = "df -h | awk '$NF==\"/\"{printf \"Disk: %d/%d GB %s\", $3,$2,$5}'"
|
||||||
Disk = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
Disk = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
||||||
cmd = "cat /sys/class/thermal/thermal_zone0/temp | awk '{printf \"CPU Temp: %.1f C\", $(NF-0) / 1000}'"
|
cmd = (
|
||||||
|
"cat /sys/class/thermal/thermal_zone0/temp | "
|
||||||
|
"awk '{printf \"CPU Temp: %.1f C\", $(NF-0) / 1000}'"
|
||||||
|
)
|
||||||
Temp = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
Temp = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
||||||
|
|
||||||
# Pi Hole data!
|
# Pi Hole data!
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue