path bug fix
This commit is contained in:
parent
c94ea1f5c9
commit
61c27e5935
@ -195,7 +195,7 @@ class StockTicker():
|
|||||||
|
|
||||||
#Draw Ticker, current and change onto one image
|
#Draw Ticker, current and change onto one image
|
||||||
def textToImage(self, TICKER, CURRENT, CHANGE, ARROW):
|
def textToImage(self, TICKER, CURRENT, CHANGE, ARROW):
|
||||||
font = ImageFont.load("/home/pi/Desktop/stock_ticker/fonts/10x20.pil")
|
font = ImageFont.load("./fonts/10x20.pil")
|
||||||
img = Image.new('RGB', (150, 32))
|
img = Image.new('RGB', (150, 32))
|
||||||
d = ImageDraw.Draw(img)
|
d = ImageDraw.Draw(img)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user