From 2452293c1ebb3c9fe9cad0be2bc067341d519a27 Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Wed, 3 Mar 2010 13:05:06 -0500 Subject: [PATCH] Fix problem with old (pre 2010) HHs. --- pyfpdb/PartyPokerToFpdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/PartyPokerToFpdb.py b/pyfpdb/PartyPokerToFpdb.py index 759ed33d..46c8776b 100755 --- a/pyfpdb/PartyPokerToFpdb.py +++ b/pyfpdb/PartyPokerToFpdb.py @@ -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])