Oof fixes

This commit is contained in:
LAX18 Development
2021-01-18 21:52:19 -05:00
parent 7983b64725
commit ebc5a23d2f
2 changed files with 49 additions and 2 deletions
+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)