From 887dec79337e5748cb3014cd10cd353b04936c13 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 18 May 2024 18:56:22 +0200 Subject: [PATCH] Correct init --- birdnet-pi/rootfs/helpers/convert_list/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/birdnet-pi/rootfs/helpers/convert_list/server.py b/birdnet-pi/rootfs/helpers/convert_list/server.py index 6f2e1d1bb..df348913e 100644 --- a/birdnet-pi/rootfs/helpers/convert_list/server.py +++ b/birdnet-pi/rootfs/helpers/convert_list/server.py @@ -22,7 +22,7 @@ log = logging.getLogger(__name__) 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) @@ -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 \ No newline at end of file + return confident_detections