fix syntax problem

This commit is contained in:
chrys 2017-02-27 21:03:58 +01:00
parent 6f8c5066a3
commit 6f9106d4a8

View File

@ -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