]> git.parisson.com Git - deefuzzer.git/commitdiff
refix log
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 27 Oct 2009 20:03:23 +0000 (20:03 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 27 Oct 2009 20:03:23 +0000 (20:03 +0000)
deefuzzer.py

index 1a39a769499bb558d44f78d6696ad7d4b5092a01..4d065b902ad283bebfc3f2e508f9d499095fdddd 100755 (executable)
@@ -280,7 +280,7 @@ class Station(Thread):
 
     def update_twitter(self):
         if self.twitter_mode == '1':
-            message = '%s #%s #%s' % (self.song, self.artist.replace(' ', ''),  self.short_name)
+            message = '%s #%s #%s' % (self.song.replace('_', ' '), self.artist.replace(' ', ''),  self.short_name)
             self.twitter.post(message[:113] + ' ' + self.tinyurl)
 
     def update_rss(self, media_list, rss_file, sub_title):