Skip to content

Commit

Permalink
Fix YUI compressor: No longer cause a NameError when looking up value…
Browse files Browse the repository at this point in the history
… of JAVA_HOME config option.
  • Loading branch information
openhatched committed Jan 24, 2010
1 parent 7ff057e commit 08d11a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_assets/filter/yui/__init__.py
Expand Up @@ -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:
Expand Down

0 comments on commit 08d11a5

Please sign in to comment.