fix syntax problem
This commit is contained in:
parent
6f8c5066a3
commit
6f9106d4a8
@ -23,8 +23,7 @@ class command():
|
|||||||
if value < 0.0:
|
if value < 0.0:
|
||||||
value = 0.0
|
value = 0.0
|
||||||
self.env['runtime']['settingsManager'].setSetting('speech', 'pitch', str(value))
|
self.env['runtime']['settingsManager'].setSetting('speech', 'pitch', str(value))
|
||||||
|
self.env['runtime']['outputManager'].presentText(_('{0} percent speech pitch').format(int(value * 100)), soundIcon='', interrupt=True)
|
||||||
self.env['runtime']['outputManager'].presentText(_("{0} percent speech pitch").format(int(value * 100)) soundIcon='', interrupt=True)
|
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user