Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_transfer_voice.py @ 284:ca4daced4638
misc: replaced "dummy" by "__"
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Mar 2019 07:11:09 +0100 |
parents | 1b835bcfa663 |
children | 772c170b47a9 |
comparison
equal
deleted
inserted
replaced
283:c73a7cd36b54 | 284:ca4daced4638 |
---|---|
76 self.time = 0 | 76 self.time = 0 |
77 self._counter_timer = Clock.schedule_interval(self._updateTimer, 1) | 77 self._counter_timer = Clock.schedule_interval(self._updateTimer, 1) |
78 | 78 |
79 self.recording = not self.recording | 79 self.recording = not self.recording |
80 | 80 |
81 def _stopPlaying(self, dummy=None): | 81 def _stopPlaying(self, __=None): |
82 if self.record_time is None: | 82 if self.record_time is None: |
83 log.error("_stopPlaying should no be called when record_time is None") | 83 log.error("_stopPlaying should no be called when record_time is None") |
84 return | 84 return |
85 audio.stop() | 85 audio.stop() |
86 self.playing = False | 86 self.playing = False |