From 92291220a70af867e68380f2c6960a54bd19ae98 Mon Sep 17 00:00:00 2001 From: Malthe Borch Date: Mon, 19 Oct 2009 15:12:54 +0000 Subject: [PATCH] Bloody hell. --- z3c/jbot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z3c/jbot/__init__.py b/z3c/jbot/__init__.py index ab0945a..a85505d 100644 --- a/z3c/jbot/__init__.py +++ b/z3c/jbot/__init__.py @@ -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)