Restart server, run collectstatic at init.

Fix tintin++ default. Resolves #1593.
This commit is contained in:
Griatch 2018-08-18 10:38:06 +02:00
parent 1aaee33138
commit 2a6e914161
5 changed files with 23 additions and 12 deletions

View file

@ -181,9 +181,6 @@ class Evennia(object):
self.start_time = time.time()
# Run the initial setup if needed
self.run_initial_setup()
# initialize channelhandler
channelhandler.CHANNELHANDLER.update()
@ -274,6 +271,8 @@ class Evennia(object):
def run_initial_setup(self):
"""
This is triggered by the amp protocol when the connection
to the portal has been established.
This attempts to run the initial_setup script of the server.
It returns if this is not the first time the server starts.
Once finished the last_initial_setup_step is set to -1.