Fix crash in 0_setup.py on Linux
This commit is contained in:
parent
de9724a821
commit
2f19b88539
1 changed files with 5 additions and 1 deletions
|
@ -191,7 +191,11 @@ if not args.noconf:
|
|||
MaxUserDirectory
|
||||
except NameError:
|
||||
import os
|
||||
MaxUserDirectory = os.path.normpath(os.environ["LOCALAPPDATA"] + "/Autodesk/3dsMax/2010 - 32bit/enu")
|
||||
try:
|
||||
MaxUserDirectory = os.path.normpath(os.environ["LOCALAPPDATA"] + "/Autodesk/3dsMax/2010 - 32bit/enu")
|
||||
except KeyError:
|
||||
MaxAvailable = 0
|
||||
MaxUserDirectory = "C:/Users/Kaetemi/AppData/Local/Autodesk/3dsMax/2010 - 32bit/enu"
|
||||
try:
|
||||
MaxExecutable
|
||||
except NameError:
|
||||
|
|
Loading…
Reference in a new issue