From 7e5573f1f5a6b961b0fccc03e4d8ed933435f645 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 14 Mar 2011 14:12:32 +0800 Subject: [PATCH] Winamax: Minor fix to Pierres patch. --- pyfpdb/WinamaxToFpdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/WinamaxToFpdb.py b/pyfpdb/WinamaxToFpdb.py index 907b6fd8..2ecaf4a5 100644 --- a/pyfpdb/WinamaxToFpdb.py +++ b/pyfpdb/WinamaxToFpdb.py @@ -247,7 +247,7 @@ class Winamax(HandHistoryConverter): if k in info.keys() and info[k]: info[k] = info[k].replace(',','.') - if info[key] == 'Gratuit': + if info[key] == 'Gratuit' or info[key] == 'Freeroll': hand.buyin = 0 hand.fee = 0 hand.buyinCurrency = "FREE" @@ -259,7 +259,7 @@ class Winamax(HandHistoryConverter): elif info[key].find("FPP")!=-1: hand.buyinCurrency="PSFP" else: - #FIXME: handle other currencies, FPP, play money + #FIXME: handle other currencies (are there other currencies?) raise FpdbParseError(_("failed to detect currency")) info['BIAMT'] = info['BIAMT'].strip(u'$€FPP')