From 463432afbcfcd4daeaf75baab0e7a3533ee00d45 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sun, 5 Oct 2008 04:45:53 +0100 Subject: [PATCH] p113 - fixed bug in parseWinLine that it would cut off the first digit for tourneys. --- pyfpdb/fpdb_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/fpdb_simple.py b/pyfpdb/fpdb_simple.py index 2d809763..2012f04f 100644 --- a/pyfpdb/fpdb_simple.py +++ b/pyfpdb/fpdb_simple.py @@ -938,7 +938,7 @@ def parseWinLine(line, site, names, winnings, isTourney): for i in range(len(names)): if (line.startswith(names[i].encode("latin-1"))): #found a winner if isTourney: - pos1=line.rfind("collected ")+11 + pos1=line.rfind("collected ")+10 if (site=="ftp"): pos2=line.find(")", pos1) elif (site=="ps"):