File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
addon/globalPlugins/MathCAT Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -536,12 +536,12 @@ def path_to_default_preferences():
536536 @staticmethod
537537 def path_to_user_preferences_folder ():
538538 # the user preferences file is stored at: C:\Users\<user-name>AppData\Roaming\MathCAT\prefs.yaml
539- return os .path .expanduser ( "~" ) + " \\ AppData \\ Roaming \\ MathCAT"
539+ return os .path .join ( os . path . expandvars ( '%APPDATA%' ), " MathCAT")
540540
541541 @staticmethod
542542 def path_to_user_preferences ():
543543 # the user preferences file is stored at: C:\Users\<user-name>AppData\Roaming\MathCAT\prefs.yaml
544- return UserInterface .path_to_user_preferences_folder () + " \\ prefs.yaml"
544+ return os . path . join ( UserInterface .path_to_user_preferences_folder (), " prefs.yaml")
545545
546546 @staticmethod
547547 def load_default_preferences ():
You can’t perform that action at this time.
0 commit comments