Update stockTicker.py
This commit is contained in:
parent
bd6281de8f
commit
42ceab3363
@ -5132,8 +5132,8 @@ class StockTicker():
|
||||
image = Image.new('RGB', (128, 32))
|
||||
|
||||
hostname = str(os.popen('hostname').read()).strip() + ".local:1024"
|
||||
ip_add = str(os.popen('hostname -I').read()).replace(" ", "").strip() + ":1024"
|
||||
mac_add = str(os.popen('cat /sys/class/net/wlan0/address').read()).replace(" ", "").strip()
|
||||
ip_add = str(os.popen('hostname -I').read()).replace(" ", "").strip() + ":1024"
|
||||
|
||||
hostname_img = self.textImage(hostname, font, r = 255, g = 255 , b = 255)
|
||||
ip_img = self.textImage(ip_add, font, r = 255, g = 255 , b = 255)
|
||||
@ -5321,9 +5321,9 @@ class StockTicker():
|
||||
self.displayGIF(start_GIF, delay = 0.02, repeat = False)
|
||||
|
||||
#stock_ticker.setImage(start_image)
|
||||
time.sleep(5)
|
||||
time.sleep(10)
|
||||
self.resetMatrix()
|
||||
time.sleep(4)
|
||||
time.sleep(2)
|
||||
self.ip_viewer()
|
||||
time.sleep(2)
|
||||
self.resetMatrix()
|
||||
|
Loading…
Reference in New Issue
Block a user