From 627fa5cf00148e1b5595cca987df6baa878acb73 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Mon, 30 May 2022 10:06:43 -0400 Subject: [PATCH] Update server.py --- scripts/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server.py b/scripts/server.py index e64cdc7..8c3a261 100755 --- a/scripts/server.py +++ b/scripts/server.py @@ -290,7 +290,7 @@ def writeResultsToFile(detections, min_conf, path): for d in detections: for entry in detections[d]: if entry[1] >= min_conf and ((entry[0] in INCLUDE_LIST or len(INCLUDE_LIST) == 0) and (entry[0] not in EXCLUDE_LIST or len(EXCLUDE_LIST) == 0)): - sendAppriseNotifications(str(entry[0]), str(entry[1])) + sendAppriseNotifications(str(entry[0]), str(entry[1]), path) rfile.write(d + ';' + entry[0].replace('_', ';') + ';' + str(entry[1]) + '\n') rcnt += 1 print('DONE! WROTE', rcnt, 'RESULTS.')