From 8236f6229e420406cfc64a55c8b358f7cb0357a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20S=C3=A1nchez?= Date: Fri, 3 Jul 2015 12:02:51 +0200 Subject: Fixed setter properties in version1 model --- parrot_zik/model/version1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parrot_zik/model/version1.py b/parrot_zik/model/version1.py index f0197e9..324cc9f 100644 --- a/parrot_zik/model/version1.py +++ b/parrot_zik/model/version1.py @@ -25,7 +25,7 @@ class ParrotZikVersion1(ParrotZikBase): @lou_reed_mode.setter def lou_reed_mode(self, arg): - self.resource_manager.get("/api/audio/specific_mode/enabled", arg) + self.resource_manager.set("/api/audio/specific_mode/enabled", arg) @property def concert_hall(self): @@ -35,7 +35,7 @@ class ParrotZikVersion1(ParrotZikBase): @concert_hall.setter def concert_hall(self, arg): - self.resource_manager.get("/api/audio/sound_effect/enabled", arg) + self.resource_manager.set("/api/audio/sound_effect/enabled", arg) @property def cancel_noise(self): @@ -45,4 +45,4 @@ class ParrotZikVersion1(ParrotZikBase): @cancel_noise.setter def cancel_noise(self, arg): - self.resource_manager.set("/api/audio/noise_cancellation/enabled", arg) \ No newline at end of file + self.resource_manager.set("/api/audio/noise_cancellation/enabled", arg) -- cgit v1.2.1