From 3d227a42cdb87d84e646a416aa17a9c20198562c Mon Sep 17 00:00:00 2001 From: grindi Date: Mon, 10 Aug 2009 01:45:55 +0400 Subject: [PATCH] Party hhc: fixed after Matt's refactoring ^_^ --- pyfpdb/PartyPokerToFpdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyfpdb/PartyPokerToFpdb.py b/pyfpdb/PartyPokerToFpdb.py index 38206845..1000c9b6 100755 --- a/pyfpdb/PartyPokerToFpdb.py +++ b/pyfpdb/PartyPokerToFpdb.py @@ -167,6 +167,8 @@ class PartyPoker(HandHistoryConverter): ] def _getGameType(self, handText): + if not hasattr(self, '_gameType'): + self._gameType = None if self._gameType is None: # let's determine whether hand is trny # and whether 5-th line contains head line