File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 6060
6161
6262def signal_handler (sig , frame ):
63- click .echo ("signal_handler: called" )
64- LOG .info (
63+ LOG .warning (
6564 f"Ctrl+C, Sending all threads({ len (threads .APRSDThreadList ())} ) exit! "
6665 f"Can take up to 10 seconds { datetime .datetime .now ()} " ,
6766 )
67+ stats .stats_collector .stop_all ()
6868 threads .APRSDThreadList ().stop_all ()
6969 if "subprocess" not in str (frame ):
7070 time .sleep (1.5 )
71- stats .stats_collector .collect ()
7271 LOG .info ("Telling flask to bail." )
7372 signal .signal (signal .SIGTERM , sys .exit (0 ))
7473
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ function create_callsign_tab_content(callsign, active=false) {
333333 active_str = '' ;
334334 }
335335
336- location_str = "Unknown Location "
336+ location_str = ""
337337 if ( callsign in callsign_location ) {
338338 location_str = build_location_string_small ( callsign_location [ callsign ] ) ;
339339 location_class = '' ;
@@ -346,7 +346,7 @@ function create_callsign_tab_content(callsign, active=false) {
346346 item_html += '<div class="row" style="padding-top:4px;padding-bottom:4px;background-color:#aaaaaa;margin:0px;">' ;
347347 item_html += '<div class="d-flex col-md-10 justify-content-left" style="padding:0px;margin:0px;">' ;
348348 item_html += '<button onclick="call_callsign_location(\'' + callsign + '\');" style="margin-left:2px;padding: 0px 4px 0px 4px;font-size: .9rem" type="button" class="btn btn-primary">' ;
349- item_html += '<span id="' + location_id + 'Spinner" class="d-none spinner-border spinner-border-sm" role="status" aria-hidden="true" style="font-size: .9rem"></span>Update </button>' ;
349+ item_html += '<span id="' + location_id + 'Spinner" class="d-none spinner-border spinner-border-sm" role="status" aria-hidden="true" style="font-size: .9rem"></span>Get Location </button>' ;
350350 item_html += ' <span id="' + location_id + '" style="font-size: .9rem">' + location_str + '</span></div>' ;
351351 item_html += '</div>' ;
352352 item_html += '<div class="speech-wrapper" id="' + wrapper_id + '"></div>' ;
You can’t perform that action at this time.
0 commit comments