From 1d3be7f4c6b8bf0b0da3b4017cfcf9a343b9c909 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Mon, 30 Jan 2017 19:03:55 +0100 Subject: [PATCH] Bugfix Git ident id --- cps/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/web.py b/cps/web.py index 4d4612d2..a1d29fb9 100755 --- a/cps/web.py +++ b/cps/web.py @@ -714,6 +714,7 @@ def get_tags_json(): def get_update_status(): status = {} if request.method == "GET": + # should be automatically replaced by git with current commit hash commit_id = '$Id$' commit = requests.get('https://api.github.com/repos/janeczku/calibre-web/git/refs/heads/master').json() if "object" in commit and commit['object']['sha'] != commit_id[5:-2]: