p113 - fixed bug in parseWinLine that it would cut off the first digit for tourneys.
This commit is contained in:
parent
f9f58f88e6
commit
463432afbc
|
@ -938,7 +938,7 @@ def parseWinLine(line, site, names, winnings, isTourney):
|
||||||
for i in range(len(names)):
|
for i in range(len(names)):
|
||||||
if (line.startswith(names[i].encode("latin-1"))): #found a winner
|
if (line.startswith(names[i].encode("latin-1"))): #found a winner
|
||||||
if isTourney:
|
if isTourney:
|
||||||
pos1=line.rfind("collected ")+11
|
pos1=line.rfind("collected ")+10
|
||||||
if (site=="ftp"):
|
if (site=="ftp"):
|
||||||
pos2=line.find(")", pos1)
|
pos2=line.find(")", pos1)
|
||||||
elif (site=="ps"):
|
elif (site=="ps"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user