Cancel an in-flight recon scan
(scan_id)
| 17777 | pass |
| 17778 | |
| 17779 | # Add current status |
| 17780 | if safe_str(shared_data.ragnarstatustext) and safe_str(shared_data.ragnarstatustext) != "Idle": |
| 17781 | activity_logs.append({ |
| 17782 | 'timestamp': current_time.strftime("%H:%M:%S"), |
| 17783 | 'type': 'status', |
| 17784 | 'icon': '🤖', |
| 17785 | 'message': f"Ragnar: {safe_str(shared_data.ragnarstatustext)}", |
| 17786 | 'details': safe_str(shared_data.ragnarstatustext2) if safe_str(shared_data.ragnarstatustext2) else '', |
| 17787 | 'severity': 'info' |
| 17788 | }) |
| 17789 | |
| 17790 | if safe_str(shared_data.ragnarsays) and safe_str(shared_data.ragnarsays).strip(): |
| 17791 | activity_logs.append({ |
| 17792 | 'timestamp': current_time.strftime("%H:%M:%S"), |
nothing calls this directly
no test coverage detected