From 981fa513185c49e19c98154d90e781df803410aa Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 4 Mar 2022 17:18:25 +0800 Subject: [PATCH] fixed team stats not displaying for other leagues --- stockTicker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stockTicker.py b/stockTicker.py index 4048e73..9af60d0 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -1759,11 +1759,11 @@ class StockTicker(): name_timage = self.textImage(team['name'], med_font, r = 255, g = 255, b = 0) - wins_timage = self.textImage('Wins:' + team['wins'], small_font, r = 0, g = 255, b = 0) - loss_timage = self.textImage('Losses:' + team['loss'], small_font, r = 255, g = 0, b = 0) - draw_timage = self.textImage('Draws:' + team['draw'], small_font, r = 0, g = 0, b = 255) + wins_timage = self.textImage('Wins:' + str(team['wins']), small_font, r = 0, g = 255, b = 0) + loss_timage = self.textImage('Losses:' + str(team['loss']), small_font, r = 255, g = 0, b = 0) + draw_timage = self.textImage('Draws:' + str(team['draw']), small_font, r = 0, g = 0, b = 255) #points_timage = self.textImage('Points:' + team['points'], small_font, r = 255, g = 255, b = 255) - standing_timage = self.textImage('Standing:' + team['standing'], small_font, r = 255, g = 255, b = 255) + standing_timage = self.textImage('Standing:' + str(team['standing']), small_font, r = 255, g = 255, b = 255)