From a4e708507f8f3c85f54f79478bb8ff5123333f45 Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 4 Dec 2010 03:43:06 +0800 Subject: [PATCH] Stars: More useful exception message of currency match fails --- pyfpdb/PokerStarsToFpdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index 3817ae3f..def8b9c8 100644 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -264,7 +264,7 @@ class PokerStars(HandHistoryConverter): hand.buyinCurrency="PSFP" else: #FIXME: handle other currencies, FPP, play money - raise FpdbParseError(_("failed to detect currency")) + raise FpdbParseError(_("Failed to detect currency: '%s'" % info[key])) info['BIAMT'] = info['BIAMT'].strip(u'$€FPP')