--- a/src/reportlab/pdfbase/pdfutils.py Mon Sep 06 13:24:45 2010 +0000
+++ b/src/reportlab/pdfbase/pdfutils.py Mon Sep 06 15:00:23 2010 +0000
@@ -126,7 +126,7 @@
Determines if a cached image exists which has the same name
and equal or newer date to the given file."""
- cachedname = os.path.splitext(filename)[0] + ('.a85' if rl_config.useA85 else '.bin')
+ cachedname = os.path.splitext(filename)[0] + (rl_config.useA85 and '.a85' or 'bin')
if os.path.isfile(cachedname):
#see if it is newer
original_date = os.stat(filename)[8]