diff options
author | Esteban Sánchez <esteban.sanchez@gmail.com> | 2015-07-03 12:02:51 +0200 |
---|---|---|
committer | Esteban Sánchez <esteban.sanchez@gmail.com> | 2015-07-03 12:02:51 +0200 |
commit | 8236f6229e420406cfc64a55c8b358f7cb0357a5 (patch) | |
tree | 02992908853e167fa49d273939957ab168020e4a | |
parent | deedbdca9564168460b24ee9549d084e2749fa1d (diff) | |
download | pyParrotZikTCP-8236f6229e420406cfc64a55c8b358f7cb0357a5.tar.xz pyParrotZikTCP-8236f6229e420406cfc64a55c8b358f7cb0357a5.zip |
Fixed setter properties in version1 model
-rw-r--r-- | parrot_zik/model/version1.py | 6 |
1 files 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) |