Keystroke editor dialog is showed even if config has changed

This commit is contained in:
2015-04-14 09:41:12 -05:00
parent 5490a59eb5
commit 7facb9b020
2 changed files with 6 additions and 0 deletions

View File

@@ -130,6 +130,10 @@ class URLStream(object):
self.stream.play()
log.debug("played")
def stop_audio(self):
if hasattr(self, "stream") and self.stream.is_playing == True:
self.stream.stop()
@staticmethod
def delete_old_tempfiles():
for f in glob(os.path.join(tempfile.gettempdir(), 'tmp*.wav')):