avoid code duplication.
@@ -79,10 +79,10 @@ class SinePlayer(Thread):
while True:
try:
buffer = self.queue.get(False)
self.device.write(buffer)
except Empty:
if buffer:
pass
isine = SinePlayer()
The note is not visible to the blocked user.