diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-26 03:19:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-26 03:31:39 +0300 |
commit | 15143a74640995f979dc5a5ff18a17d546e4b954 (patch) | |
tree | b2c81f0339a774f562ca0fcf48c70267315cc5fa /release/scripts | |
parent | 8c0682a93c2d5adb1b936ca6b5367bd18648d5d8 (diff) |
Cleanup: simplify script path assignment
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/modules/bpy/utils/__init__.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/release/scripts/modules/bpy/utils/__init__.py b/release/scripts/modules/bpy/utils/__init__.py index 14510c844aa..081068c2273 100644 --- a/release/scripts/modules/bpy/utils/__init__.py +++ b/release/scripts/modules/bpy/utils/__init__.py @@ -289,11 +289,9 @@ def load_scripts(reload_scripts=False, refresh_scripts=False): # base scripts -_scripts = _os.path.join(_os.path.dirname(__file__), - _os.path.pardir, - _os.path.pardir, - ) -_scripts = (_os.path.normpath(_scripts), ) +_scripts = ( + _os.path.dirname(_os.path.dirname(_os.path.dirname(__file__))), +) def script_path_user(): |