Update mesh_bot.py

fixLocaStats and sysinfo
This commit is contained in:
SpudGunMan
2025-10-13 19:49:24 -07:00
parent f204237a63
commit adedaa092c
+1 -1
View File
@@ -1153,7 +1153,7 @@ def sysinfo(message, message_from_id, deviceID):
if enable_runShellCmd and file_monitor_enabled:
# get the system information from the shell script
# this is an example of how to run a shell script and return the data
shellData = call_external_script(None, "script/sysEnv.sh")
shellData = call_external_script('', "script/sysEnv.sh")
# check if the script returned data
if shellData == "" or shellData == None:
# no data returned from the script