From 8d3725d4f3d1bea9215dca0920634ba84a65e954 Mon Sep 17 00:00:00 2001 From: Artem30801 Date: Sat, 19 Jan 2019 21:06:06 +0300 Subject: [PATCH] Threadingfix --- Drone/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Drone/client.py b/Drone/client.py index a3d08af..e7f30eb 100644 --- a/Drone/client.py +++ b/Drone/client.py @@ -120,7 +120,7 @@ running_animation_event = threading.Event() animation_thread = threading.Thread(target=animation_player, args=(running_animation_event, stop_animation_event)) -def start_animation(): +def start_animation(*args, **kwargs): play_animation.read_animation_file(animation_file) print("Starting animation!") resume_animation()