more pause tweaks

This commit is contained in:
chrys
2016-10-18 14:10:56 +02:00
parent c7fbf98ee1
commit f42eafd816
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ class punctuationManager():
if key in punctuation:
if self.env['runtime']['settingsManager'].getSetting('general', 'respectPunctuationPause') and \
len(key) == 1 and \
key in string.punctuation:
key in ",.;:?!-":
resultText = resultText.replace(str(key),' ' +str(item) + str(key) + ' ')
else:
resultText = resultText.replace(str(key),' ' +str(item) + ' ')