diff --git a/hyde/template.py b/hyde/template.py index 85841b9..62997cc 100644 --- a/hyde/template.py +++ b/hyde/template.py @@ -24,9 +24,8 @@ class HtmlWrap(object): try: from pyquery import PyQuery except: - PyQuery = False - if PyQuery: - self.q = PyQuery(html) + PyQuery = None + self.q = PyQuery(html) if PyQuery else None def __unicode__(self): return self.raw