Stars: More useful exception message of currency match fails
This commit is contained in:
parent
8d8f604d12
commit
a4e708507f
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user