Added ui ability to send aruco map files

This commit is contained in:
artem30801@gmail.com
2019-03-28 17:37:46 +03:00
parent b1b4698534
commit 68dd0c5ab5
4 changed files with 61 additions and 16 deletions

View File

@@ -385,6 +385,12 @@ class Client:
{'section': option.section, 'option': option.option, 'value': option.value}))
Client.send_to_selected(Client.form_message("config_reload"))
@staticmethod
def get_by_id(copter_id):
for copter in Client.clients.values():
if copter.copter_id == copter_id:
return copter
if __name__ == '__main__':
server = Server()