fix exit program via CTRL-C

This commit is contained in:
David Kierzkowski 2015-04-10 01:41:44 -04:00
parent 52793877e1
commit d83fbba277
1 changed files with 2 additions and 2 deletions

View File

@ -596,7 +596,7 @@ def handler(_signal, _frame):
this_ipsc = networks[network]
logger.info('De-Registering from IPSC %s', network)
de_reg_req_pkt = this_ipsc.hashed_packet(this_ipsc._local['AUTH_KEY'], this_ipsc.DE_REG_REQ_PKT)
this_ipsc.send_to_ipsc(network, de_reg_req_pkt)
this_ipsc.send_to_ipsc(de_reg_req_pkt)
reactor.stop()