From f75cd9afe31b42a8615b1932334fa06e00cc38c4 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 31 Jan 2022 15:40:07 -0500 Subject: [PATCH] I missed the BirdDB.txt path fix --- scripts/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/analyze.py b/scripts/analyze.py index 6fcee29..39b598e 100644 --- a/scripts/analyze.py +++ b/scripts/analyze.py @@ -263,7 +263,7 @@ def main(): # Write detections to Database for i in detections: print("\n", detections[i][0],"\n") - with open('BirdDB.txt', 'a') as rfile: + with open('../BirdDB.txt', 'a') as rfile: 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) ):