更新 Healthbeat.py
parent
39c73fa3f2
commit
1b36e1f528
|
|
@ -27,7 +27,7 @@ class Camera:
|
|||
else:
|
||||
logging.warning("摄像头ID: %s, 状态: 离线" % (self.id))
|
||||
|
||||
if (status == 1 and self.status == 2) or (status == 2 and self.status == 1):
|
||||
#if (status == 1 and self.status == 2) or (status == 2 and self.status == 1):
|
||||
conn = get_connection()
|
||||
|
||||
with conn:
|
||||
|
|
|
|||
Loading…
Reference in New Issue