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