diff options
Diffstat (limited to 'modules/rna_manual_reference.py')
-rw-r--r-- | modules/rna_manual_reference.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rna_manual_reference.py b/modules/rna_manual_reference.py index 1ba5501a..05cdd3f5 100644 --- a/modules/rna_manual_reference.py +++ b/modules/rna_manual_reference.py @@ -5,8 +5,8 @@ import bpy url_manual_prefix = "https://docs.blender.org/manual/en/dev/" language = "" -if bpy.context.user_preferences.system.use_international_fonts: - language = bpy.context.user_preferences.system.language +if bpy.context.preferences.system.use_international_fonts: + language = bpy.context.preferences.system.language if language == 'DEFAULT': import os language = os.getenv('LANG', '').split('.')[0] |