summaryrefslogtreecommitdiff
path: root/dealconvert/formats/bhg.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-05-30 00:02:54 +0200
committeremkael <emkael@tlen.pl>2019-05-30 00:02:54 +0200
commitc417577b9cf19e00f92d583f3c82ff95c9e54efe (patch)
tree6511b4c4ae29926e1f3241fe6c19e2642d65d664 /dealconvert/formats/bhg.py
parent959305e4b73459cda5cde1de77f14a38457adeaa (diff)
Error reporting improved
Diffstat (limited to 'dealconvert/formats/bhg.py')
-rw-r--r--dealconvert/formats/bhg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/bhg.py b/dealconvert/formats/bhg.py
index 23a1673..08b9213 100644
--- a/dealconvert/formats/bhg.py
+++ b/dealconvert/formats/bhg.py
@@ -51,7 +51,7 @@ class BHGFormat(DealFormat):
line += chr((65 if card < 26 else 71)+card)
except ValueError:
raise RuntimeError(
- 'invalid suit %s in board #%d' % (
+ 'invalid suit %s in board %d' % (
''.join(suit), deal.number))
lines[deal.number] = line
out_file.write('\r\n'.join(lines))