diff options
author | emkael <emkael@tlen.pl> | 2020-02-06 02:34:48 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-02-06 02:34:48 +0100 |
commit | eb3e6c4116e9343e55594667200bb39e3a8ddd13 (patch) | |
tree | f5ecfb1066d24a55d301183508a4fccd3187c42f | |
parent | d9445757f30d5d9a9271c53cfda3fae853a3910e (diff) |
Iterating over *all* denominations when rendering DD table in HTML/PDF
Fixes #6
-rw-r--r-- | dealconvert/formats/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dealconvert/formats/html.py b/dealconvert/formats/html.py index 0b5b403..71ed008 100644 --- a/dealconvert/formats/html.py +++ b/dealconvert/formats/html.py @@ -141,7 +141,7 @@ class HTMLFormat(DealFormat): data['table'] += '<td>' + self._get_suit_symbol(suit) + '</td>' data['table'] += '</tr>' player_order = [0, 2, 1, 3] # NESW -> NSEW - denom_order = range(4, 0, -1) # CDHSN -> NSHDC + denom_order = range(4, -1, -1) # CDHSN -> NSHDC for player in player_order: data['table'] += '<tr>' data['table'] += '<td style="border-left: solid 1px black">' + BCalcWrapper.PLAYERS[player] + '</td>' |