remove unneeded returns

This commit is contained in:
chrys87 2016-10-24 17:47:45 +02:00 committed by GitHub
parent 251e4eda3e
commit c0adc2c309

View File

@ -22,10 +22,8 @@ class driver():
self.soundFileCommand = 'play -q -v fenrirVolume fenrirSoundFile'
if self.frequenceCommand == '':
self.frequenceCommand = 'play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence'
return
def shutdown(self):
self.cancel()
return
def playFrequence(self, frequence = 1000, duration = 0.3, adjustVolume = 0):
if interrupt:
self.cancel()