mirror of
https://github.com/smittix/intercept.git
synced 2026-04-23 22:30:00 -07:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user