diff --git a/screenless/bureau/ihr/ihrweb.py b/screenless/bureau/ihr/ihrweb.py index 8cce76b..d692c94 100644 --- a/screenless/bureau/ihr/ihrweb.py +++ b/screenless/bureau/ihr/ihrweb.py @@ -79,7 +79,8 @@ class IhrApp(Bottle): template = mako.template.Template(filename=templfile, input_encoding='utf-8') basedir = os.path.expanduser("~/.screenless") - logfile = os.path.join(basedir, cfgfile) + logfile = bureau + ".log" + logfile = os.path.join(basedir, logfile) with open(logfile) as log: logdata = log.read()