diff --git a/screenless/bureau/ihr/ihrweb.py b/screenless/bureau/ihr/ihrweb.py index bc9ae97..0af998f 100644 --- a/screenless/bureau/ihr/ihrweb.py +++ b/screenless/bureau/ihr/ihrweb.py @@ -10,8 +10,8 @@ class IhrApp(Bottle): super(IhrApp, self).__init__() self.name = "IHR App" self.route("/", callback=self.index) - self.route("/config/", callback=self.config) - self.route("/config/", callback=self.config, method="POST") + self.route("/config/", callback=self.bureau_config) + self.route("/config/", callback=self.bureau_config, method="POST") self.bureaus = [] def index(self): @@ -23,16 +23,16 @@ class IhrApp(Bottle): " return out - def config(self, bureau): + def bureau_config(self, bureau): # parse the config and make it into a form out = "

config file for " + bureau + "

\n" basedir = os.path.expanduser("~/.screenless")