Made a fix in runner concerning profiling of the Portal.

This commit is contained in:
Griatch 2012-02-26 13:45:07 +01:00
parent 9660dd6656
commit c513486b5a

View file

@ -283,7 +283,7 @@ def main():
set_restart_mode(PORTAL_RESTART, False)
print "\nStarting Evennia Portal in Daemon mode (output to portal logfile)."
if options.pprof:
server_argv.extend(pprof_argv)
portal_argv.extend(pprof_argv)
print "\nRunning Evennia Portal under cProfile."
cycle_logfile(PORTAL_LOGFILE)