mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-14 19:41:31 +02:00
Correct init
This commit is contained in:
@@ -22,7 +22,7 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
userDir = os.path.expanduser('~')
|
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 = []
|
PREDICTED_SPECIES_LIST = []
|
||||||
model, priv_thresh, sf_thresh = (None, None, None)
|
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):
|
(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])
|
d = Detection(time_slot.split(';')[0], time_slot.split(';')[1], converted_entry, entry[1])
|
||||||
confident_detections.append(d)
|
confident_detections.append(d)
|
||||||
return confident_detections
|
return confident_detections
|
||||||
|
|||||||
Reference in New Issue
Block a user