Fix typo webroot->web_root

This commit is contained in:
Griatch 2017-06-04 23:21:24 +02:00
parent 167d09b4cd
commit 90bd1a77dd

View file

@ -174,7 +174,7 @@ class Evennia(object):
# (see https://github.com/evennia/evennia/issues/1128)
def _wrap_sigint_handler(*args):
from twisted.internet.defer import Deferred
if hasattr(self, "webroot"):
if hasattr(self, "web_root"):
d = self.web_root.empty_threadpool()
d.addCallback(lambda _: self.shutdown(_reactor_stopping=True))
else: