From 5c32f5397e736bb719b29ace785b4e9b8c106729 Mon Sep 17 00:00:00 2001 From: Artem30801 Date: Thu, 3 Dec 2020 13:39:14 +0300 Subject: [PATCH] Update dronepoint_flight.py --- drone/dronepoint_flight.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drone/dronepoint_flight.py b/drone/dronepoint_flight.py index 9db6401..b51898e 100644 --- a/drone/dronepoint_flight.py +++ b/drone/dronepoint_flight.py @@ -31,6 +31,5 @@ def dronepoint_callback(connection, dronepoint_id=None, container_id=None): if __name__ == "__main__": # logging.basicConfig(level=logging.DEBUG) client = client_core.Client() - client.start() - print("Client started") - # your code can go here + client.start() # this function WILL block until exit! but you can put this call into thread + print("Client exited")