summaryrefslogtreecommitdiff
path: root/dealconvert/formats
diff options
context:
space:
mode:
Diffstat (limited to 'dealconvert/formats')
-rw-r--r--dealconvert/formats/html.py2
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>'