Skip to content

Commit

Permalink
fix: use creation date on detect socket endpoint (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasNeugebauer authored Jan 6, 2025
1 parent b509b11 commit 6ac24f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion learning_loop_node/detector/detector_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ async def detect(sid, data: Dict) -> Dict:
camera_id=data.get('camera-id', None) or data.get('mac', None),
tags=data.get('tags', []),
source=data.get('source', None),
autoupload=data.get('autoupload', None)
autoupload=data.get('autoupload', None),
creation_date=data.get('creation_date', None)
)
if det is None:
return {'error': 'no model loaded'}
Expand Down

0 comments on commit 6ac24f7

Please sign in to comment.