Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pypokergui/server/templates/round_state.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3><small>Next Player is
<div id="round-state-table" class="img-rounded">

<div id="seats-upper" class="row row-center">
{% for idx, player in zip(range(len(round_state['seats']))[:len(round_state['seats'])/2], round_state['seats']) %}
{% for idx, player in zip(range(len(round_state['seats']))[:int(len(round_state['seats'])/2)], round_state['seats']) %}
{% include "player_game.html" %}
{% end %}
</div>
Expand Down Expand Up @@ -62,7 +62,7 @@ <h4 class="round-state-table-text">${{ sidepot['amount'] }}</p>
</div>

<div id="seats-lower" class="row row-center">
{% for idx, player in zip(range(len(round_state['seats']))[len(round_state['seats'])/2:], round_state['seats'][len(round_state['seats'])/2:]) %}
{% for idx, player in zip(range(len(round_state['seats']))[int(len(round_state['seats'])/2):], round_state['seats'][int(len(round_state['seats'])/2):]) %}
{% include "player_game.html" %}
{% end %}
</div>
Expand Down