Skip to content
Permalink
Browse files

Fix YUI compressor: No longer cause a NameError when looking up value…

… of JAVA_HOME config option.
  • Loading branch information...
openhatched committed Jan 24, 2010
1 parent 7ff057e commit 08d11a5c90a98a7867b82a91717f32aa69276c9f
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_assets/filter/yui/__init__.py
@@ -28,7 +28,7 @@ def setup(self):

# We can reasonably expect that java is just on the path, so
# don't require it, but hope for the best.
self.java = self.get_config(env=JAVA_HOME, require=False)
self.java = self.get_config(env='JAVA_HOME', require=False)
if self.java is not None:
self.java = os.path.join(path, 'bin/java')
else:

0 comments on commit 08d11a5

Please sign in to comment.
You can’t perform that action at this time.