mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-29 22:23:12 -06:00
#33: geocode checkers, audio handlers (there's probably a much better way to do this).
This commit is contained in:
parent
8eb6d0c4cb
commit
1e6a784192
@ -437,9 +437,11 @@ class baseBufferController(bufferController):
|
|||||||
print "Interact method invoked"
|
print "Interact method invoked"
|
||||||
tweet = self.get_tweet()
|
tweet = self.get_tweet()
|
||||||
urls = utils.find_urls(tweet)
|
urls = utils.find_urls(tweet)
|
||||||
#handle audio-only (no weblinks) tweets.
|
#handle audio tweets.
|
||||||
if len(urls) == 1 and utils.is_audio(tweet):
|
if utils.is_audio(tweet):
|
||||||
return self.audio()
|
return self.audio()
|
||||||
|
elif utils.is_geocoded(tweet):
|
||||||
|
output.speak("Not implemented",True)
|
||||||
else:
|
else:
|
||||||
return self.url()
|
return self.url()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user