From faee37e1013bf91a559bf66261b898aff73cb8fe Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 3 Aug 2010 22:25:49 +0200 Subject: [PATCH] set isKO to false when we know it's not a KO --- pyfpdb/PokerStarsToFpdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index 384f5082..86334bd5 100644 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -262,6 +262,8 @@ class PokerStars(HandHistoryConverter): info['BOUNTY'] = info['BOUNTY'].strip(u'$€') # Strip here where it isn't 'None' hand.koBounty = int(100*Decimal(info['BOUNTY'])) hand.isKO = True + else: + hand.isKO = False info['BIRAKE'] = info['BIRAKE'].strip(u'$€')