Fix tracebacking services default command
This commit is contained in:
parent
3b667d6533
commit
9f1d14bae2
2 changed files with 4 additions and 4 deletions
|
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
## main branch
|
## 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).
|
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
|
- [Feature][pull3412]: Make it possible to add custom webclient css in
|
||||||
`webclient/css/custom.css`, same as for website (InspectorCaracal)
|
`webclient/css/custom.css`, same as for website (InspectorCaracal)
|
||||||
- Doc fixes (InspectorCaracal, Griatch)
|
- Doc fixes (InspectorCaracal, Griatch)
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,9 @@ import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
import django
|
import django
|
||||||
|
import evennia
|
||||||
import twisted
|
import twisted
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
import evennia
|
|
||||||
from evennia.accounts.models import AccountDB
|
from evennia.accounts.models import AccountDB
|
||||||
from evennia.scripts.taskhandler import TaskHandlerTask
|
from evennia.scripts.taskhandler import TaskHandlerTask
|
||||||
from evennia.utils import gametime, logger, search, utils
|
from evennia.utils import gametime, logger, search, utils
|
||||||
|
|
@ -574,7 +573,7 @@ class CmdService(COMMAND_DEFAULT_CLASS):
|
||||||
return
|
return
|
||||||
|
|
||||||
# get all services
|
# get all services
|
||||||
service_collection = evennia.SESSION_HANDLER.server.services
|
service_collection = evennia.EVENNIA_SERVER_SERVICE
|
||||||
|
|
||||||
if not switches or switches[0] == "list":
|
if not switches or switches[0] == "list":
|
||||||
# Just display the list of installed services and their
|
# Just display the list of installed services and their
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue