diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-11-02 14:17:08 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-11-02 14:17:08 (GMT) |
commit | 9c63c5b5e3dde3f85f0fe7e0db3ee6434a6429bf (patch) | |
tree | 1598140e7542d741cda3785daca71df0de8c0fee /plugins | |
parent | 7324e6cda8abae54111c5f886c8069812fb040bc (diff) |
more tweaks to python export code
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/audio_sensors/audio_sensors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/audio_sensors/audio_sensors.py b/plugins/audio_sensors/audio_sensors.py index 1e0ed01..adc951f 100644 --- a/plugins/audio_sensors/audio_sensors.py +++ b/plugins/audio_sensors/audio_sensors.py @@ -59,6 +59,7 @@ class Audio_sensors(Plugin): def __init__(self, parent): Plugin.__init__(self) self._parent = parent + self.audio_started = False self._status = True # TODO: test for audio device # These flags are referenced by audiograb self.hw = self._parent.hw @@ -211,7 +212,6 @@ class Audio_sensors(Plugin): self._parent.lc.def_prim( 'voltage2', 0, lambda self: primitive_dictionary['voltage'](1)) - self.audio_started = False if self.hw in [XO175, XO30, XO4]: self.PARAMETERS = { SENSOR_AC_BIAS: (False, True, 80, True), |