Fix error in sound declaration.

This commit is contained in:
Bill Dengler 2015-05-14 10:03:38 -04:00
parent 432e40bdfa
commit d02bd91f41

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.wav")
parent.parent.sound.play("error")
return val
def is_allowed(tweet, clients):