File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
NVDA-addon/addon/globalPlugins/MathCAT Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import wx
2- import MathCATgui
3- import yaml
2+ from . import MathCATgui
3+ from . import yaml
44import os
55import glob
66import sys
1010
1111# initialize the user preferences tuples
1212user_preferences = dict ([("" , "" )])
13- #Sepech_Language is derived from the folder structure
13+ #Speech_Language is derived from the folder structure
1414Speech_Impairment = ("LearningDisability" , "Blindness" , "LowVision" )
1515#Speech_SpeechStyle is derived from the yaml files under the selected language
1616Speech_Verbosity = ("Terse" , "Medium" , "Verbose" )
@@ -43,7 +43,7 @@ def path_to_languages_folder():
4343
4444def load_default_preferences ():
4545 global user_preferences
46- #load default preferences into the user preferences data structure (overwites existing)
46+ #load default preferences into the user preferences data structure (overwrites existing)
4747 if os .path .exists (path_to_default_preferences ()):
4848 with open (path_to_default_preferences (), encoding = 'utf-8' ) as f :
4949 user_preferences = yaml .load (f , Loader = yaml .FullLoader )
Original file line number Diff line number Diff line change 88###########################################################################
99
1010import wx
11- import wx . xrc
11+ # from . import xrc
1212
1313import gettext
1414_ = gettext .gettext
You can’t perform that action at this time.
0 commit comments