Just in case something goes wrong during reading the git repo information...

master
Gina Häußge 2013-06-29 13:43:45 +02:00
parent 1caba2d634
commit 04ce284085
1 changed files with 7 additions and 1 deletions

View File

@ -130,7 +130,13 @@ class PrinterStateConnection(tornadio2.SocketConnection):
@app.route("/")
def index():
branch, commit = util.getGitInfo()
branch = None
commit = None
try:
branch, commit = util.getGitInfo()
except:
pass
return render_template(
"index.jinja2",
ajaxBaseUrl=BASEURL,