Fix tracebacking services default command

This commit is contained in:
Griatch 2024-01-28 23:43:09 +01:00
parent 3b667d6533
commit 9f1d14bae2
2 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,9 @@
## main branch
- Remove `AMP_ENABLED` setting since it services no real purpose and
- [Fix] Remove `AMP_ENABLED` setting since it services no real purpose and
erroring out on setting it would make it even less useful (Griatch).
- [Fix] `services` command with no args would traceback (regression) (Griatch)
- [Feature][pull3412]: Make it possible to add custom webclient css in
`webclient/css/custom.css`, same as for website (InspectorCaracal)
- Doc fixes (InspectorCaracal, Griatch)

View file

@ -13,10 +13,9 @@ import time
import traceback
import django
import evennia
import twisted
from django.conf import settings
import evennia
from evennia.accounts.models import AccountDB
from evennia.scripts.taskhandler import TaskHandlerTask
from evennia.utils import gametime, logger, search, utils
@ -574,7 +573,7 @@ class CmdService(COMMAND_DEFAULT_CLASS):
return
# get all services
service_collection = evennia.SESSION_HANDLER.server.services
service_collection = evennia.EVENNIA_SERVER_SERVICE
if not switches or switches[0] == "list":
# Just display the list of installed services and their