Fix signal for cement

This commit is contained in:
VirtuBox
2019-09-23 15:43:23 +02:00
parent 65bab99dda
commit 490a7969e1
5 changed files with 7 additions and 4 deletions

View File

@@ -588,7 +588,7 @@ class WODebugController(CementBaseController):
" disabled".format(self.app.pargs.site_name))
@expose(hide=True)
def signal_handler(self, signal, frame):
def signal_handler(self, app, signal, frame):
"""Handle Ctrl+c hevent for -i option of debug"""
self.start = False
if self.app.pargs.nginx: