aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-11 09:46:33 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-11 09:46:33 -0700
commit0ad87244178badf26cd5c8e0ed88116e87026472 (patch)
treedb19d53d4548391d316fec33954ed7d5d3cfb68b /tools/file_packager.py
parenta1eb425371aa310e074b06d80d56adf71d6f5383 (diff)
parent886e3158cf5d95a2c2721e5eb9a1c3ac4461f805 (diff)
Merge branch 'incoming'
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r--tools/file_packager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index 6a8390ad..1443d165 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -240,7 +240,7 @@ if crunch:
#if not os.path.exists(os.path.basename(crunch_name)):
# print >> sys.stderr, 'Failed to crunch, perhaps a weird dxt format? Looking for a source PNG for the DDS'
# Popen([CRUNCH, '-file', unsuffixed(file_['srcpath']) + '.png', '-quality', crunch] + format, stdout=sys.stderr).communicate()
- assert os.path.exists(os.path.basename(src_crunch_name)), 'crunch failed to generate output'
+ assert os.path.exists(src_crunch_name), 'crunch failed to generate output'
# prepend the dds header
crunched = open(src_crunch_name, 'rb').read()
c = open(src_crunch_name, 'wb')