From 4298f394fbc1fd9e2b4308f1ea2f0dce9df93c9d Mon Sep 17 00:00:00 2001 From: LAX18 Development Date: Mon, 18 Jan 2021 20:52:42 -0500 Subject: [PATCH] Oof --- python/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/api.py b/python/api.py index 1f0ec1b..adfa8f3 100644 --- a/python/api.py +++ b/python/api.py @@ -30,8 +30,8 @@ def volume(): def command(): if request.method == 'POST': json = request.get_json() - #output = os.popen("cd /usr/share/dump1090-mutability/html && "+json['command']).read() - output = os.popen(json['command']).read() + output = os.popen("cd /usr/share/dump1090-mutability/html && "+json['command']).read() + #output = os.popen(json['command']).read() return str(output)