remove cfg

This commit is contained in:
root
2017-06-27 15:08:14 +02:00
parent 98a365fb78
commit 945958e51c

View File

@@ -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')))