Stars: More useful exception message of currency match fails

This commit is contained in:
Worros 2010-12-04 03:43:06 +08:00
parent 8d8f604d12
commit a4e708507f

View File

@ -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')