Skip to content

Commit e300e0b

Browse files
committed
Merge branch 'main' of github.com:NSoiffer/MathCATForPython
2 parents 4c0fa93 + 1a04aac commit e300e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NVDA-addon/addon/globalPlugins/MathCAT/MathCATPreferences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def validate(key1, key2, valid_values, default_value):
171171
return
172172
if (type(valid_values[0]) == int) and (type(valid_values[1]) == int):
173173
#any value between lower and upper bounds is valid
174-
if (user_preferences[key1][key2] >= valid_values(0)) and (user_preferences[key1][key2] <= valid_values(1)):
174+
if (user_preferences[key1][key2] >= valid_values[0]) and (user_preferences[key1][key2] <= valid_values[1]):
175175
return
176176
else:
177177
#any value in the list is valid

0 commit comments

Comments
 (0)