Skip to content

Commit

Permalink
Correct init
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored May 18, 2024
1 parent ffcfb7a commit 887dec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions birdnet-pi/rootfs/helpers/convert_list/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


userDir = os.path.expanduser('~')
INTERPRETER, M_INTERPRETER, INCLUDE_LIST, EXCLUDE_LIST, CONVERT_LIST = (None, None, None, None, None)
INTERPRETER, M_INTERPRETER, INCLUDE_LIST, EXCLUDE_LIST, CONVERT_LIST, CONVERT_DICT = (None, None, None, None, None, None)
PREDICTED_SPECIES_LIST = []
model, priv_thresh, sf_thresh = (None, None, None)

Expand Down Expand Up @@ -339,4 +339,4 @@ def run_analysis(file):
(converted_entry in PREDICTED_SPECIES_LIST or len(PREDICTED_SPECIES_LIST) == 0):
d = Detection(time_slot.split(';')[0], time_slot.split(';')[1], converted_entry, entry[1])
confident_detections.append(d)
return confident_detections
return confident_detections

0 comments on commit 887dec7

Please sign in to comment.