path seperator check was wrong

This commit is contained in:
2007-08-19 23:49:48 +00:00
parent 6dda54c92d
commit 4ef547a79d

View File

@@ -775,7 +775,7 @@ histIndex = cursor = -1 # How far back from the first letter are we? - in curren
# Autoexec, startup code.
scriptDir = Get('scriptsdir')
if scriptDir:
if scriptDir.endswith(Blender.sys.sep):
if not scriptDir.endswith(Blender.sys.sep):
scriptDir += Blender.sys.sep
console_autoexec = '%s%s' % (scriptDir, 'console_autoexec.py')