1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Catch extra args in windows signal handler

This commit is contained in:
Julien Duponchelle 2016-05-30 15:28:53 +02:00
parent 4c291f5051
commit 6c1d7bad81
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -109,7 +109,7 @@ class WebServer:
def _signal_handling(self): def _signal_handling(self):
def signal_handler(signame): def signal_handler(signame, *args):
log.warning("Server has got signal {}, exiting...".format(signame)) log.warning("Server has got signal {}, exiting...".format(signame))
asyncio.async(self.shutdown_server()) asyncio.async(self.shutdown_server())