From e65648398bc4522454dde7453c662bf2c3a7119a Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 30 May 2016 15:28:53 +0200 Subject: [PATCH] Catch extra args in windows signal handler --- gns3server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/server.py b/gns3server/server.py index c7474c81..34c7fa17 100644 --- a/gns3server/server.py +++ b/gns3server/server.py @@ -106,7 +106,7 @@ class Server: def _signal_handling(self): - def signal_handler(signame): + def signal_handler(signame, *args): log.warning("Server has got signal {}, exiting...".format(signame)) asyncio.async(self.shutdown_server())