update Detection signature

This commit is contained in:
frederik
2025-10-26 12:05:17 +01:00
committed by Nachtzuster
parent a152250f11
commit 200048ca27
5 changed files with 31 additions and 28 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ def apprise(file: ParseFileName, detections: [Detection]):
# Apprise of detection if not already alerted this run.
if detection.species not in species_apprised_this_run:
try:
sendAppriseNotifications(detection.species, str(detection.confidence), str(detection.confidence_pct),
sendAppriseNotifications(detection.scientific_name, detection.common_name, str(detection.confidence), str(detection.confidence_pct),
os.path.basename(detection.file_name_extr), detection.date, detection.time, str(detection.week),
conf['LATITUDE'], conf['LONGITUDE'], conf['CONFIDENCE'], conf['SENSITIVITY'],
conf['OVERLAP'], dict(conf), DB_PATH)