Skip to content

Commit 03d5955

Browse files
committed
run black
1 parent 9cfc8b7 commit 03d5955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ssd1306_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
# https://unix.stackexchange.com/questions/119126/command-to-display-memory-usage-disk-usage-and-cpu-load
6666
cmd = "hostname -I | cut -d' ' -f1"
6767
IP = subprocess.check_output(cmd, shell=True).decode("utf-8")
68-
cmd = "cut -f 1 -d \" \" /proc/loadavg"
68+
cmd = 'cut -f 1 -d " " /proc/loadavg'
6969
CPU = subprocess.check_output(cmd, shell=True).decode("utf-8")
7070
cmd = "free -m | awk 'NR==2{printf \"Mem: %s/%s MB %.2f%%\", $3,$2,$3*100/$2 }'"
7171
MemUsage = subprocess.check_output(cmd, shell=True).decode("utf-8")

0 commit comments

Comments
 (0)