Attempted fix for daemon sigterm by accepting all args in the sigterm handler

This commit is contained in:
Andrew 2022-03-02 08:10:49 -05:00
parent 53b2b2ed4b
commit e2f226a6c3

View File

@ -151,7 +151,7 @@ if __name__ == '__main__':
project_root = os.path.dirname(__file__)
controller.set_project_root(project_root)
def sigterm_handler():
def sigterm_handler(*args):
print() # for newline
logger.info("Recieved SIGTERM, stopping Crafty")
console.info("Recieved SIGTERM, stopping Crafty")