From 63d6fa62c46ce1470efa7bbb8366b724e5e01a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 15 Jun 2015 04:59:23 -0500 Subject: [PATCH] Fixed an AttributeError in URLSoundPlayer --- src/controller/buffersController.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index 72965887..bfe50be4 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -83,8 +83,6 @@ class bufferController(object): self.session.sound.play("volume_changed.ogg") def interact(self): - if hasattr(sound.URLPlayer,'stream'): - return sound.URLPlayer.stop_audio(delete=True) tweet = self.get_tweet() url=None urls = utils.find_urls(tweet) @@ -264,7 +262,7 @@ class baseBufferController(bufferController): tweet = self.session.twitter.twitter.show_status(id=id) except TwythonError as e: utils.twitter_error(e) - continue + return l = tweets.is_long(tweet) if l == False: tweetsList.append(tweet)