Cleanup: simplify script path assignment

This commit is contained in:
Campbell Barton
2017-03-26 11:19:31 +11:00
parent 8c0682a93c
commit 15143a7464

View File

@@ -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():