fix [#28148] User Preferences Scripts Path not working
authorCampbell Barton <ideasman42@gmail.com>
Tue, 2 Aug 2011 10:21:25 +0000 (10:21 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 2 Aug 2011 10:21:25 +0000 (10:21 +0000)
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: