fix [#28148] User Preferences Scripts Path not working
[blender.git] / release / scripts / startup / bl_ui / space_userpref.py
index 933579f5c1ea93dec5e2e1f47d86a99cea24c94a..1feb1eec0c504a242b46f3bc6cd4ac0a0ad89966 100644 (file)
@@ -878,7 +878,7 @@ class USERPREF_PT_addons(bpy.types.Panel):
         if not user_addon_paths:
             user_script_path = bpy.utils.user_script_path()
             if user_script_path is not None:
-                user_addon_paths.append(os.path.join(user_script_path(), "addons"))
+                user_addon_paths.append(os.path.join(user_script_path, "addons"))
             user_addon_paths.append(os.path.join(bpy.utils.resource_path('USER'), "scripts", "addons"))
 
         for path in user_addon_paths: