Skip to content

Commit

Permalink
fix: total number of processes becomes None (#193)
Browse files Browse the repository at this point in the history
* total number of processes becomes None

* reflected review results

* reflected the review results again
  • Loading branch information
miyakoshi-dev authored Jul 9, 2024
1 parent 3ed6763 commit 1ee3eff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ros2caret/verb/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ def subscription_callback(self, msg):

if msg.caret_node_name in self._caret_node_names:
self._caret_node_names.remove(msg.caret_node_name)

if self._progress:
self._progress.update()
if self._progress:
self._progress.update()

if len(self._caret_node_names) == 0:
self.stop_progress()
Expand Down

0 comments on commit 1ee3eff

Please sign in to comment.