summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 69435c018a2..115b1d88cf1 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -729,7 +729,7 @@ def processCmdLine():
iceHome = "/usr"
if not x64:
- x64 = isWin32() and os.environ.get("PLATFORM").upper() == "X64" or os.environ.get("LP64") == "yes"
+ x64 = isWin32() and os.environ.get("PLATFORM", "").upper() == "X64" or os.environ.get("LP64", "") == "yes"
if not noenv:
configurePaths()