From 8cc68569080ee4bc2beed4d321b701c425878eb0 Mon Sep 17 00:00:00 2001 From: Nicholas Pease Date: Mon, 6 Jun 2022 20:16:54 -0400 Subject: [PATCH] Fix updater --- python/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/api.py b/python/api.py index aa32adf..d2bbd0a 100644 --- a/python/api.py +++ b/python/api.py @@ -67,7 +67,7 @@ def cputemp(): @app.route('/update',methods = ['GET']) def update(): if request.method == 'GET': - output = os.popen("sudo git pull").read() + output = os.popen("cd /usr/share/dump1090-mutability/html && sudo git pull").read() return str(output) @app.route('/branch',methods = ['GET'])