diff --git a/pyfpdb/EverleafToFpdb.py b/pyfpdb/EverleafToFpdb.py index 26875070..3f87a21c 100755 --- a/pyfpdb/EverleafToFpdb.py +++ b/pyfpdb/EverleafToFpdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2010, Carl Gherardi @@ -174,8 +174,10 @@ or None if we fail to get the info """ for a in m: seatnum = int(a.group('SEAT')) hand.addPlayer(seatnum, a.group('PNAME'), a.group('CASH')) - if seatnum > 6: - hand.maxseats = 10 # everleaf currently does 2/6/10 games, so if seats > 6 are in use, it must be 10-max. + if seatnum > 8: + hand.maxseats = 10 # they added 8-seat games now + elif seatnum > 6: + hand.maxseats = 8 # everleaf currently does 2/6/10 games, so if seats > 6 are in use, it must be 10-max. # TODO: implement lookup list by table-name to determine maxes, then fall back to 6 default/10 here, if there's no entry in the list? diff --git a/pyfpdb/HUD_config.xml.example b/pyfpdb/HUD_config.xml.example index 9afad9dc..3fd354a1 100644 --- a/pyfpdb/HUD_config.xml.example +++ b/pyfpdb/HUD_config.xml.example @@ -290,6 +290,18 @@ Left-Drag to Move" + + + + + + + + + + + +