Fix knockout variable type

fpdb_parse_logic.py : recogniseTourneyTypeId()

The column in table is of type 'boolean' but the default value was
integer '0'; this triggered an error
This commit is contained in:
Mika Bostrom 2009-09-23 23:44:57 +03:00
parent 00f8b34fff
commit df71dcf2c7

View File

@ -81,7 +81,7 @@ def mainParser(settings, siteID, category, hand, config, db = None, writeq = Non
fee = fpdb_simple.parseFee(hand[0]) fee = fpdb_simple.parseFee(hand[0])
entries = -1 #todo: parse this entries = -1 #todo: parse this
prizepool = -1 #todo: parse this prizepool = -1 #todo: parse this
knockout = 0 knockout = False
tourneyStartTime= handStartTime #todo: read tourney start time tourneyStartTime= handStartTime #todo: read tourney start time
rebuyOrAddon = fpdb_simple.isRebuyOrAddon(hand[0]) rebuyOrAddon = fpdb_simple.isRebuyOrAddon(hand[0])