Skip to content

Commit 8937ea3

Browse files
committed
linting long line.
1 parent 7a910ab commit 8937ea3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Pi_Hole_Ad_Blocker/mini_pitft_stats.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@
7676
MemUsage = subprocess.check_output(cmd, shell=True).decode("utf-8")
7777
cmd = "df -h | awk '$NF==\"/\"{printf \"Disk: %d/%d GB %s\", $3,$2,$5}'"
7878
Disk = subprocess.check_output(cmd, shell=True).decode("utf-8")
79-
cmd = "cat /sys/class/thermal/thermal_zone0/temp | awk '{printf \"CPU Temp: %.1f C\", $(NF-0) / 1000}'"
79+
cmd = (
80+
"cat /sys/class/thermal/thermal_zone0/temp | "
81+
"awk '{printf \"CPU Temp: %.1f C\", $(NF-0) / 1000}'"
82+
)
8083
Temp = subprocess.check_output(cmd, shell=True).decode("utf-8")
8184

8285
# Pi Hole data!

0 commit comments

Comments
 (0)