Skip to content

Commit

Permalink
change schema so milliseconds in filename dont look like file extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Oct 22, 2024
1 parent d42e172 commit d562673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/services/camera_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _camera_fun(self):
self._capture.clear()
print("####### capture #######")

filename = Path(f"img_{datetime.now().astimezone().strftime('%Y%m%d-%H%M%S.%f')}")
filename = Path(f"img_{datetime.now().astimezone().strftime('%Y%m%d-%H%M%S-%f')}")
print(f"filename {filename}")

if timestamp_delta:
Expand Down

0 comments on commit d562673

Please sign in to comment.