fixing restart_services

This commit is contained in:
mcguirepr89
2022-02-16 07:19:26 -05:00
parent 4863a2eef7
commit 64295bece0
5 changed files with 15 additions and 10 deletions
+2 -3
View File
@@ -328,8 +328,7 @@ def handle_client(conn, addr):
# Write detections to Database
myReturn = ''
for i in detections:
print("\n", detections[i][0],"\n")
myReturn += str(detections[i][0]) + '||'
myReturn += str(i) + '-' + str(detections[i][0]) + '\n'
@@ -414,7 +413,7 @@ def handle_client(conn, addr):
print("Detection POST Response Status - ", response.status_code)
conn.send("Msg received".encode(FORMAT))
conn.send(myReturn.encode(FORMAT))
#time.sleep(3)