Fix problem with old (pre 2010) HHs.

This commit is contained in:
Eratosthenes 2010-03-03 13:05:06 -05:00
parent 17b02c1cd9
commit 2452293c1e

View File

@ -320,7 +320,7 @@ class PartyPoker(HandHistoryConverter):
if key == 'PLAY' and info['PLAY'] != 'Real':
# if realy party doesn's save play money hh
hand.gametype['currency'] = 'play'
if key == 'MAX':
if key == 'MAX' and info[key] is not None:
hand.maxseats = int(info[key])