This commit is contained in:
2021-01-18 20:52:42 -05:00
parent 6f318d4727
commit 72c4c74ed0
+2 -2
View File
@@ -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)