mirror of
https://github.com/smittix/intercept.git
synced 2026-07-27 10:08:10 -07:00
Fix ADS-B start error: convert gain to string for subprocess
The validation now returns an integer, but subprocess command arguments must be strings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -255,7 +255,7 @@ def start_adsb():
|
|||||||
pass
|
pass
|
||||||
app_module.adsb_process = None
|
app_module.adsb_process = None
|
||||||
|
|
||||||
cmd = [dump1090_path, '--net', '--gain', gain, '--device-index', str(device), '--quiet']
|
cmd = [dump1090_path, '--net', '--gain', str(gain), '--device-index', str(device), '--quiet']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
app_module.adsb_process = subprocess.Popen(
|
app_module.adsb_process = subprocess.Popen(
|
||||||
|
|||||||
Reference in New Issue
Block a user