aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-13 01:09:56 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-13 01:09:56 +0200
commitcc46d275a0f89bdcd1c7b8f64dbc25e9c4b7beed (patch)
tree80119aa041b6044105109c0be8cf108905fdcf80
parentb890260fb76f5685711e8f6b580f476f03f5e126 (diff)
downloadpyParrotZikTCP-cc46d275a0f89bdcd1c7b8f64dbc25e9c4b7beed.tar.xz
pyParrotZikTCP-cc46d275a0f89bdcd1c7b8f64dbc25e9c4b7beed.zip
Fix flight_mode.
-rw-r--r--ParrotZik.py2
1 files changed, 1 insertions, 1 deletions
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):