Fix filenames, play error sound on unactionable.

This commit is contained in:
Bill Dengler
2015-05-14 10:09:31 -04:00
parent d02bd91f41
commit 7fb71e2ec5
2 changed files with 3 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ def api_call(parent=None, call_name=None, preexec_message="", success="", succes
parent.parent.sound.play(success_snd)
except TwythonError as e:
output.speak("Error %s: %s" % (e.error_code, e.msg), True)
parent.parent.sound.play("error")
parent.parent.sound.play("error.ogg")
return val
def is_allowed(tweet, clients):