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