Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Mar 5, 2023
1 parent 6052e00 commit f7066ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rooms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Just assign those participant labels in ``creating_session``:
def creating_session(subsession):
labels = ['alice', 'bob', 'charlie']
for player, label in zip(subsession.get_players(), labels):
p.participant.label = label
player.participant.label = label
If someone opens a start link with ``participant_label=alice``,
oTree checks if any participant in the session already has that label.
Expand Down

0 comments on commit f7066ae

Please sign in to comment.