imiptools/content.py | raw changeset files shortlog |
1.1 --- a/imiptools/content.py Fri Sep 11 13:40:39 2015 +0200 1.2 +++ b/imiptools/content.py Fri Sep 11 15:49:33 2015 +0200 1.3 @@ -69,7 +69,8 @@ 1.4 # Dispatch to a handler and obtain any response. 1.5 1.6 handler.set_object(Object({name : item})) 1.7 - methods[method](handler)() 1.8 + if handler.is_usable(): 1.9 + methods[method](handler)() 1.10 1.11 # Handler registry. 1.12