last occurance of space instead of -
This commit is contained in:
parent
d46fc77e58
commit
8a700d37bc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user