mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Fix filenames, play error sound on unactionable.
This commit is contained in:
parent
d02bd91f41
commit
7fb71e2ec5
@ -458,6 +458,7 @@ class baseBufferController(bufferController):
|
||||
return output.speak("Not implemented",True)
|
||||
else:
|
||||
output.speak("Not actionable.",True)
|
||||
self.session.sound.play("error.ogg")
|
||||
|
||||
def url(self,url='',announce=True):
|
||||
if url == '':
|
||||
@ -497,7 +498,7 @@ class baseBufferController(bufferController):
|
||||
self.buffer.list.remove_item(index)
|
||||
# if index > 0:
|
||||
except TwythonError:
|
||||
self.session.sound.play("error.ogg")
|
||||
self.session.sound.play("error")
|
||||
|
||||
@_tweets_exist
|
||||
def user_details(self):
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user