From: Guillaume Pellerin Date: Sun, 28 Nov 2010 10:10:31 +0000 (+0000) Subject: cleanup network except X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2a36c2ba1fc1a8385e346e2e0650356792c62cf2;p=deefuzzer.git cleanup network except --- diff --git a/tools/station.py b/tools/station.py index ef02555..6bdd21a 100644 --- a/tools/station.py +++ b/tools/station.py @@ -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')