From 0ccd801fc20962bb7bf8f58c1eb871c335332a23 Mon Sep 17 00:00:00 2001 From: Artem30801 Date: Tue, 7 Jan 2020 17:24:15 +0300 Subject: [PATCH] Fixed config responce in client --- Drone/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Drone/client.py b/Drone/client.py index e969c6a..315168e 100644 --- a/Drone/client.py +++ b/Drone/client.py @@ -216,8 +216,8 @@ def _command_config_write(*args, **kwargs): @messaging.request_callback("config") def _response_config(*args, **kwargs): - response = {"config": active_client.config.fulldict, - "configspec": dict(active_client.config.configspec)} + response = {"config": active_client.config.full_dict, + "configspec": dict(active_client.config.config.configspec)} return response @messaging.request_callback("id")