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:
James Smith
2025-12-30 19:31:30 +00:00
parent 1398a5dedd
commit 5c895144bc

View File

@@ -255,7 +255,7 @@ def start_adsb():
pass
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:
app_module.adsb_process = subprocess.Popen(