mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
agent: v3.0 — fix cfg scope bug in execute_command (update + shell commands)
self_update(cfg) and shell allow_shell_commands check both referenced cfg from run() scope, but execute_command() is a standalone function. Fixed by calling load_config() locally in each branch that needs it.
This commit is contained in:
@@ -1 +1 @@
|
||||
6c93ea50f3a91472444a10838b89d4222b8378cd153efee4ed9f75d7d5fb25b2
|
||||
0a80b4a5a240647f7169b1245bd534429e819f090404b8bbb12e69bbf1e37867 /home/jarvis.orbishosting.com/public_html/agent/jarvis-agent.py
|
||||
|
||||
Reference in New Issue
Block a user