Merge pull request #15 from KD8EYF/master

fix exit program via CTRL-C
This commit is contained in:
Cort Buffington 2015-04-10 07:47:56 -05:00
commit 84b45cac26
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()