From 38ef3dbd07a6b67931c27ff788f5dcefbdafba2e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sat, 18 Jul 2009 13:33:28 +0000 Subject: [PATCH] fix channel when buffer sync pb --- deefuzzer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deefuzzer.py b/deefuzzer.py index e96dd3b..02cc94e 100755 --- a/deefuzzer.py +++ b/deefuzzer.py @@ -453,9 +453,11 @@ class Station(Thread): self.channel.sync() # self.logger.write('Station delay (ms) ' + self.short_name + ' : ' + str(self.channel.delay())) except: - self.logger.write('ERROR : Station %s : could not send the buffer... ') % self.short_name + self.logger.write('ERROR : Station ' + self.short_name + ' : could not send the buffer... ') + self.channel.close() + self.channel.open() + continue q.task_done() - stream.close() self.channel.close() -- 2.39.5