mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 09:46:32 +01:00
logs/evennia.log is now writing once more. Also fixed a stupid indentation error.
This commit is contained in:
parent
b6c869b076
commit
9457e19787
3 changed files with 7 additions and 3 deletions
|
|
@ -514,9 +514,9 @@ def cmd_set(cdat):
|
|||
return
|
||||
|
||||
victim = functions_db.standard_plr_objsearch(session, eq_args[0])
|
||||
# Use standard_plr_objsearch to handle duplicate/nonexistant results.
|
||||
if not victim:
|
||||
return
|
||||
# Use standard_plr_objsearch to handle duplicate/nonexistant results.
|
||||
if not victim:
|
||||
return
|
||||
|
||||
if not pobject.controls_other(victim):
|
||||
session.msg(defines_global.NOCONTROL_MSG)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ from django.db import connection
|
|||
|
||||
from apps.config.models import CommandAlias
|
||||
from session import SessionProtocol
|
||||
import settings
|
||||
import scheduler
|
||||
import functions_general
|
||||
import session_mgr
|
||||
|
|
@ -22,6 +23,7 @@ import initial_setup
|
|||
class EvenniaService(service.Service):
|
||||
|
||||
def __init__(self, filename="blah"):
|
||||
log.startLogging(open(settings.LOGFILE, 'w'))
|
||||
self.cmd_alias_list = {}
|
||||
self.game_running = True
|
||||
|
||||
|
|
|
|||
|
|
@ -79,3 +79,5 @@ INSTALLED_APPS = (
|
|||
'apps.helpsys',
|
||||
'apps.genperms',
|
||||
)
|
||||
|
||||
LOGFILE = 'logs/evennia.log'
|
||||
Loading…
Add table
Add a link
Reference in a new issue