[Server] modify ac_id field of CONFIG message for replay sessions (#2616)

* [server] Send real ID with CONFIG message instead of the original ID.

* Fix pprz_connect to accept non integer ac ids.
Makes "conf_by_id" docstring true.

* Makes suggested modifications.
This commit is contained in:
Fabien-B
2020-11-10 16:42:45 +01:00
committed by GitHub
parent 65a5405908
commit bb7986f8ec
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ class PprzConnect(object):
msg['flight_plan'], msg['settings'], msg['radio'],
msg['default_gui_color'])
self._conf_list_by_name[conf.name] = conf
self._conf_list_by_id[int(conf.id)] = conf
self._conf_list_by_id[conf.id] = conf
if self._notify is not None:
self._notify(conf) # user defined general callback
if self.verbose: