Fix typo webroot->web_root
This commit is contained in:
parent
167d09b4cd
commit
90bd1a77dd
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ class Evennia(object):
|
||||||
# (see https://github.com/evennia/evennia/issues/1128)
|
# (see https://github.com/evennia/evennia/issues/1128)
|
||||||
def _wrap_sigint_handler(*args):
|
def _wrap_sigint_handler(*args):
|
||||||
from twisted.internet.defer import Deferred
|
from twisted.internet.defer import Deferred
|
||||||
if hasattr(self, "webroot"):
|
if hasattr(self, "web_root"):
|
||||||
d = self.web_root.empty_threadpool()
|
d = self.web_root.empty_threadpool()
|
||||||
d.addCallback(lambda _: self.shutdown(_reactor_stopping=True))
|
d.addCallback(lambda _: self.shutdown(_reactor_stopping=True))
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue