From 5c895144bc63148f75d033ffe5971252aad21c7f Mon Sep 17 00:00:00 2001 From: James Smith Date: Tue, 30 Dec 2025 19:31:30 +0000 Subject: [PATCH] Fix ADS-B start error: convert gain to string for subprocess MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- routes/adsb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/adsb.py b/routes/adsb.py index a43b331..ceca415 100644 --- a/routes/adsb.py +++ b/routes/adsb.py @@ -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(