summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 6c635173fb0..135737d38e4 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -279,9 +279,8 @@ def configurePaths():
# Add compiler sub-directory
if isWin32():
subdir = None
- if getMapping() != "py":
- if getCppCompiler() == "VC110":
- subdir = "vc110"
+ if getCppCompiler() == "VC110" and getMapping() != "py":
+ subdir = "vc110"
if subdir:
binDir = os.path.join(binDir, subdir)