This commit is contained in:
LAX18 Development
2021-01-18 20:52:42 -05:00
parent 800257c661
commit 4298f394fb
+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)