Skip to content

Commit

Permalink
Change log of camera (#199)
Browse files Browse the repository at this point in the history
When starting the fieldfriend the camera will log its whole dict. Now it
will lig its name.
  • Loading branch information
Johannes-Thiel authored Oct 16, 2024
1 parent 60784e3 commit e57535d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion field_friend/vision/calibratable_usb_camera_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self) -> None:

def backup(self) -> dict:
for camera in self._cameras.values():
self.log.info(f'backing up camera: {camera.to_dict()}')
self.log.info(f'backing up camera: {camera.name}')
return {
'cameras': {camera.id: camera.to_dict() for camera in self._cameras.values()}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self) -> None:

def backup(self) -> dict:
for camera in self._cameras.values():
self.log.info(f'backing up camera: {camera.to_dict()}')
self.log.info(f'backing up camera: {camera.name}')
return {
'cameras': {camera.id: camera.to_dict() for camera in self._cameras.values()}
}
Expand Down

0 comments on commit e57535d

Please sign in to comment.