diff options
author | emkael <emkael@tlen.pl> | 2019-05-30 00:02:54 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-05-30 00:02:54 +0200 |
commit | c417577b9cf19e00f92d583f3c82ff95c9e54efe (patch) | |
tree | 6511b4c4ae29926e1f3241fe6c19e2642d65d664 /dealconvert/formats/bhg.py | |
parent | 959305e4b73459cda5cde1de77f14a38457adeaa (diff) |
Error reporting improved
Diffstat (limited to 'dealconvert/formats/bhg.py')
-rw-r--r-- | dealconvert/formats/bhg.py | 2 |
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)) |