Updated HTML docs.

This commit is contained in:
Evennia docbuilder action 2023-10-31 19:28:12 +00:00
parent df0a1a4f59
commit 8d82220b17
694 changed files with 281 additions and 196 deletions

View file

@ -198,8 +198,8 @@ def index(request):
def index(request):
"""The 'index' view."""
user = request.user
if not user.is_anonymous() and user.db._playable_characters:
character = user.db._playable_characters[0]
if not user.is_anonymous() and user.characters:
character = user.characters[0]
```
In this second case, it will select the first character of the account.