]> git.parisson.com Git - deefuzzer.git/commitdiff
cleanup network except
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 28 Nov 2010 10:10:31 +0000 (10:10 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 28 Nov 2010 10:10:31 +0000 (10:10 +0000)
tools/station.py

index ef025551341f800bb29c3c82b783bbd4a362ccc7..6bdd21a8a6d67b56ab0e801ed9770b0ec8e50bc7 100644 (file)
@@ -520,9 +520,8 @@ class Station(Thread):
                         self.logger.write_error('Station ' + self.short_name + ' : could not close the channel')
                         try:
                             self.channel.open()
-                            self.channel.send(self.chunk)
-                            self.channel.sync()
                             self.channel.set_metadata({'song': self.song, 'charset': 'utf8',})
+                            self.channel.send(self.chunk)
                             self.channel.sync()
                         except:
                             self.logger.write_error('Station ' + self.short_name + ' : could not restart the channel')