@ -87,7 +87,8 @@ class IhrApp(Bottle):
return template.render_unicode(msg=msg, bureau=bureau, logdata=logdata)
def register_bureau(self, bureau):
self.bureaus.append(bureau)
if not(bureau in self.bureaus):
def register_crud(self, data):
# adds callbacks for crud operations on a database