Update punctuationManager.py
This commit is contained in:
parent
9017009a70
commit
dfaf31ffb5
@ -99,7 +99,10 @@ class punctuationManager():
|
|||||||
|
|
||||||
def cyclePunctuation(self):
|
def cyclePunctuation(self):
|
||||||
punctList = list(self.punctuation['levels'].keys())
|
punctList = list(self.punctuation['levels'].keys())
|
||||||
|
try:
|
||||||
currIndex = punctList.index(self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower()) # curr punctuation
|
currIndex = punctList.index(self.env['runtime']['settingsManager'].getSetting('general', 'punctuationLevel').lower()) # curr punctuation
|
||||||
|
except:
|
||||||
|
return
|
||||||
currIndex += 1
|
currIndex += 1
|
||||||
if currIndex >= len(punctList):
|
if currIndex >= len(punctList):
|
||||||
currIndex = 0
|
currIndex = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user