Interact function refactorized

This commit is contained in:
2015-06-01 11:18:39 -05:00
parent 5976caf736
commit 91c5165d12
3 changed files with 28 additions and 23 deletions

View File

@@ -151,7 +151,7 @@ class URLStream(object):
def stop_audio(self,delete=False):
if hasattr(self, "stream"):
output.speak("Stopped.",True)
output.speak(_(u"Stopped."), True)
try:
self.stream.stop()
log.debug("Stopped audio stream.")