Skip to content

Commit

Permalink
Update targets only. (#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-B authored and dewagter committed Feb 13, 2023
1 parent 970c317 commit 67be933
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sw/supervision/python/paparazzicenter.py
Expand Up @@ -84,7 +84,12 @@ def handle_ac_edited(self, ac: Aircraft):
def handle_ac_changed(self, ac_name):
ac = self.conf[ac_name]
if ac is not None:
self.handle_ac_edited(ac) # update AC
# self.handle_ac_edited(ac) # update AC ?
try:
ac.update_targets()
self.clear_error()
except ConfError as e:
self.handle_error(e.__str__())
self.change_ac(ac)

def handle_remove_ac(self, ac: Aircraft):
Expand Down

0 comments on commit 67be933

Please sign in to comment.