]> git.parisson.com Git - deefuzzer.git/commitdiff
finally fix twitt
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 28 Oct 2009 08:43:39 +0000 (08:43 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 28 Oct 2009 08:43:39 +0000 (08:43 +0000)
deefuzzer.py

index 8ca68b3e896fad3c047f458b2d45181dc1c4307f..29972721ee1e996e3631f3031515e1be2c029525 100755 (executable)
@@ -281,8 +281,8 @@ class Station(Thread):
 
     def update_twitter(self):
         if self.twitter_mode == '1':
-            message = 'now playing: %s #%s #%s' % (self.song.replace('_', ' '), self.artist.replace(' ', ''), self.short_name
-            tags = ' #' + self.twitter_tags.join(' #')
+            message = 'now playing: %s #%s #%s' % (self.song.replace('_', ' '), self.artist.replace(' ', ''), self.short_name)
+            tags = ' #' + ' #'.join(self.twitter_tags)
             message = message + tags
             self.twitter.post(message[:113] + ' ' + self.tinyurl)