From 2a673b8975a2a7d4e4cfca38544a94cca369ed1b Mon Sep 17 00:00:00 2001 From: steffen123 Date: Thu, 19 Aug 2010 04:24:38 +0200 Subject: [PATCH] assume bb=SB and BB=2*SB and store accordingly --- pyfpdb/Database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index cd18147f..354536eb 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1886,7 +1886,8 @@ class Database: elif game['category'] in ['razz','27_3draw','badugi']: hilo = "l" tmp = self.insertGameTypes( (siteid, game['currency'], game['type'], game['base'], game['category'], game['limitType'], hilo, - int(Decimal(game['sb'])*100), int(Decimal(game['bb'])*100), 0, 0) ) + int(Decimal(game['sb'])*100), int(Decimal(game['bb'])*100), + int(Decimal(game['bb'])*100), int(Decimal(game['bb'])*200)) ) #FIXME: recognise currency return tmp[0]