From cc46d275a0f89bdcd1c7b8f64dbc25e9c4b7beed Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Sat, 13 Jun 2015 01:09:56 +0200 Subject: Fix flight_mode. --- ParrotZik.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ParrotZik.py b/ParrotZik.py index af20b52..fe5c911 100644 --- a/ParrotZik.py +++ b/ParrotZik.py @@ -203,7 +203,7 @@ class ParrotZikVersion2(ParrotZikBase): @flight_mode.setter def flight_mode(self, arg): - self.api.set('/api/flight_mode/enable', arg) + self.api.set('/api/flight_mode/set', arg) @property def room_size(self): -- cgit v1.2.1