From 8a700d37bc40bc020680bef7587621857f7847d4 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 23 Mar 2023 18:14:11 +0800 Subject: [PATCH] last occurance of space instead of - --- database_caller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database_caller.py b/database_caller.py index f68b66f..d285e5b 100755 --- a/database_caller.py +++ b/database_caller.py @@ -951,8 +951,8 @@ def updateLeagueEvents(api_key, time, logf): each = each.replace('nT', 'T', 1) if each[:2] in rank: each = each.split('GC') - score = each[1].rfind('-') - score2 = each[1][score:score+3] + score = each[1].rfind(' ') + score2 = each[1][score:score+4] each2 = each[0] + score2 teams.append(each2) except: