Skip to content

Commit f575d88

Browse files
committed
sort import
1 parent cd85c9d commit f575d88

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

clock.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/usr/bin/env python3
22

33
import datetime
4-
import psutil
54
from time import sleep
6-
from vfd import VFD, COLS
5+
6+
import psutil
7+
8+
from vfd import COLS, VFD
79

810
vfd = VFD(0, 0)
911
welcome = "Starting Clock"

pihole_monitor.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/usr/bin/env python3
22

33
import json
4-
import psutil
54
import socket
65
from time import sleep
7-
from vfd import VFD, COLS
86
from urllib.request import urlopen
97

8+
import psutil
9+
10+
from vfd import COLS, VFD
11+
1012
vfd = VFD(0, 0)
1113
welcome = "PiHole Monitor"
1214
HOST = str(socket.gethostbyname(socket.gethostname()))

vfd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11

2-
import spidev
32
from time import sleep
43

4+
import spidev
5+
56
# data about the display
67
COLS = 20
78
ROWS = 4

0 commit comments

Comments
 (0)