diff --git a/screenless/bureau/ihr/ihrweb.py b/screenless/bureau/ihr/ihrweb.py
index 00cd785..3325286 100644
--- a/screenless/bureau/ihr/ihrweb.py
+++ b/screenless/bureau/ihr/ihrweb.py
@@ -31,7 +31,6 @@ class IhrApp(Bottle):
"""
- print("webviews", self.views)
for bureau in self.bureaus:
out += '- {0}:
\n'.format(bureau)
out += '- {0} config
\n'.format(bureau)
@@ -104,7 +103,7 @@ class IhrApp(Bottle):
else:
self.views[prefix] = [view]
def wrapped_cb():
- callback(request.forms)
+ return callback(request.forms)
self.route("/" + prefix + "/" + view, callback=wrapped_cb)
def register_crud(self, data):