From 622a00be96203d6ff017bb0e6017e3826a7619c4 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Fri, 26 Sep 2008 14:39:24 +0100 Subject: [PATCH] p108 - These damn small blinds... all previously supported tourneys should be working again now --- pyfpdb/fpdb_simple.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyfpdb/fpdb_simple.py b/pyfpdb/fpdb_simple.py index 73b71669..2d809763 100644 --- a/pyfpdb/fpdb_simple.py +++ b/pyfpdb/fpdb_simple.py @@ -1045,6 +1045,9 @@ def recogniseGametypeID(cursor, topline, smallBlindLine, site_id, category, isTo if base=="hold": if smallBlindLine==topline: raise FpdbError("invalid small blind line") + elif isTourney: + pos=smallBlindLine.rfind(" ")+1 + small_blind=int(smallBlindLine[pos:]) else: pos=smallBlindLine.rfind("$")+1 small_blind=float2int(smallBlindLine[pos:])