diff --git a/__init__.py b/__init__.py index fa4b04e..cc44c99 100644 --- a/__init__.py +++ b/__init__.py @@ -11,7 +11,7 @@ def run_cmd(cmd): stderr=subprocess.PIPE, stdin=subprocess.PIPE) out,err = p.communicate() - return render_template("index.html",out=out,keys=keys, title=cfg.title.decode("utf8")) + return render_template("index.html",out=out+"\nErrorLog\n"+err,keys=keys, title=cfg.title.decode("utf8")) package_directory = os.path.dirname(os.path.abspath(__file__)) cfg = Config(file(os.path.join(package_directory, 'config.cfg')))