AI bug squash sesh

This commit is contained in:
Chuck
2025-08-09 21:00:25 -05:00
parent 79cbc46f9b
commit 85d63243c7
13 changed files with 41 additions and 9 deletions

View File

@@ -393,8 +393,10 @@ def system_action():
result = subprocess.run(['sudo', 'reboot'],
capture_output=True, text=True)
elif action == 'git_pull':
home_dir = str(Path.home())
project_dir = os.path.join(home_dir, 'LEDMatrix')
result = subprocess.run(['git', 'pull'],
capture_output=True, text=True, cwd='/workspace')
capture_output=True, text=True, cwd=project_dir, check=False)
else:
return jsonify({
'status': 'error',