This commit is contained in:
xyj 2023-12-08 14:13:15 +08:00
parent f862b67c99
commit 28c28f6441
8 changed files with 1 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import time
import paho.mqtt.client as mqtt
from tool import push_stream, close_stream, update, exec_sh, get_record, get_list_record, get_status
from src.tool import push_stream, close_stream, update, exec_sh, get_record, get_list_record, get_status
def on_connect(client, userdata, flags, rc):
@ -69,8 +69,6 @@ def exec_shutdown():
pass
import os
if __name__ == '__main__':
p = subprocess.Popen(['cat /home/pi/device_name'], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()

Binary file not shown.

View File