diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-01 16:33:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-01 16:33:34 +0400 |
commit | 2c66ab12e93454d1783fc884600eebcba92ad314 (patch) | |
tree | f6f96d79d80c7f1742b8934ec2c089430072ec6e /release/scripts/startup/bl_ui/space_userpref.py | |
parent | 01550f880ed97f074a03603c0000e11af219f324 (diff) |
minor pep8 edits
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 9c31b172ee9..c598788006c 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -883,7 +883,7 @@ class USERPREF_PT_addons(bpy.types.Panel): 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(bpy.utils.resource_path('USER'), "scripts", "addons")) - + for path in user_addon_paths: if bpy.path.is_subdir(mod.__file__, path): return True @@ -1001,8 +1001,7 @@ class USERPREF_PT_addons(bpy.types.Panel): for i in range(4 - tot_row): split.separator() - - + # Append missing scripts # First collect scripts that are used but have no script file. |