Fix security issues, breaking changes, and code cleanup for weather satellite PR

Co-authored-by: mitchross <6330506+mitchross@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-09 20:58:26 +00:00
parent 35cf01c11e
commit d41ba61aee
8 changed files with 54 additions and 31 deletions

View File

@@ -253,7 +253,7 @@ def test_decode():
}), 400
if not input_path.is_file():
logger.warning(f"Test-decode file not found: {input_file}")
logger.warning("Test-decode file not found")
return jsonify({
'status': 'error',
'message': 'File not found'
@@ -313,7 +313,7 @@ def stop_capture():
JSON confirmation.
"""
decoder = get_weather_sat_decoder()
device_index = decoder._device_index
device_index = decoder.device_index
decoder.stop()