Skip to content

Commit

Permalink
Bloody hell.
Browse files Browse the repository at this point in the history
  • Loading branch information
malthe committed Oct 19, 2009
1 parent e1972df commit 9229122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z3c/jbot/__init__.py
Expand Up @@ -36,7 +36,7 @@ def get(template, view=None, cls=None):
inst._v_last_read = False
break

if view is not None:
if view is not None and IAcquirer is not None:
if IAcquirer.providedBy(inst):
return inst.__of__(view)

Expand Down

0 comments on commit 9229122

Please sign in to comment.