Update stockTicker.py

startup logo fix
This commit is contained in:
Neythen Treloar 2022-02-15 19:25:24 +00:00 committed by GitHub
parent b4af6cdb9e
commit 830ea41e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2720,8 +2720,9 @@ class StockTicker():
elif msg == '*': elif msg == '*':
# #
# #
start_GIF = Image.open('./logos/startup_logo1.gif')
self.displayGIF(start_GIF, delay = 0.02, repeat = False) self.displayGIF(start_GIF, delay = 0.02, repeat = False)
#stock_ticker.setImage(start_image) #stock_ticker.setImage(start_image)
time.sleep(2) time.sleep(2)
self.resetMatrix() self.resetMatrix()
@ -2740,19 +2741,6 @@ if __name__ == '__main__':
stock_ticker = StockTicker() stock_ticker = StockTicker()
stock_ticker.logf = log stock_ticker.logf = log
start_image = Image.open('./logos/startup_logo.png')
start_GIF = Image.open('./logos/startup_logo1.gif')
msg = getInput()
#stock_ticker.getLeagueImage('NHL', 'future') #stock_ticker.getLeagueImage('NHL', 'future')