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)