Skip to content

Commit

Permalink
Merge pull request #1033 from tue-robotics/locking_bug
Browse files Browse the repository at this point in the history
Locking bug
  • Loading branch information
MatthijsBurgh committed May 6, 2020
2 parents 389aaa2 + 4945715 commit 35e25b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def _resolve(self):
entity = self.to_be_locked.resolve() # Then find out what we should remember
if entity: # If we can find what to remember
self._locked_to_id = entity.id # remember its ID.
return entity
else: # If we do remember something already, recall that remembered ID:
return self.robot.ed.get_entity(id=self._locked_to_id)
else:
Expand Down

0 comments on commit 35e25b3

Please sign in to comment.