Update generic.py

This commit is contained in:
chrys87 2016-09-16 13:20:43 +02:00 committed by GitHub
parent dc1fcc8e04
commit a5a2d6f453

View File

@ -32,6 +32,8 @@ class driver():
def cancel(self):
if self.soundType == 'file':
self.proc.kill()
if self.soundType == 'frequence':
self.proc.kill()
self.soundType = ''
def setCallback(self, callback):
pass