aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 44478331..704e2b25 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -152,7 +152,7 @@ def emscript(infile, settings, outfile, libraries=[]):
out = shared.JCache.get(shortkey, keys)
- if (not out) and DEBUG_CACHE:
+ if DEBUG_CACHE and not out:
dfpath = os.path.join(shared.TEMP_DIR, "ems_" + shortkey)
dfp = open(dfpath, 'w')
dfp.write(pre_input);