mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Fix crash in 0_setup.py on Linux
This commit is contained in:
parent
49fd01ccfb
commit
7e6cf7c213
1 changed files with 5 additions and 1 deletions
|
@ -191,7 +191,11 @@ if not args.noconf:
|
||||||
MaxUserDirectory
|
MaxUserDirectory
|
||||||
except NameError:
|
except NameError:
|
||||||
import os
|
import os
|
||||||
|
try:
|
||||||
MaxUserDirectory = os.path.normpath(os.environ["LOCALAPPDATA"] + "/Autodesk/3dsMax/2010 - 32bit/enu")
|
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:
|
try:
|
||||||
MaxExecutable
|
MaxExecutable
|
||||||
except NameError:
|
except NameError:
|
||||||
|
|
Loading…
Reference in a new issue