diff --git a/py-kms/pykms_WebUI.py b/py-kms/pykms_WebUI.py index 06b7d7e..696e1bd 100644 --- a/py-kms/pykms_WebUI.py +++ b/py-kms/pykms_WebUI.py @@ -55,7 +55,7 @@ if os.path.exists(_version_info_path): with open(_version_info_path, 'r') as f: app.jinja_env.globals['version_info'] = { 'hash': f.readline().strip(), - 'branch': f.readline().strip() + 'reference': f.readline().strip() } _dbEnvVarName = 'PYKMS_SQLITE_DB_PATH' diff --git a/py-kms/templates/base.html b/py-kms/templates/base.html index f64588d..11110da 100644 --- a/py-kms/templates/base.html +++ b/py-kms/templates/base.html @@ -41,7 +41,7 @@ py-kms is online since {{ start_time }}. This instance was accessed {{ get_serve_count() }} times. View this softwares license here. {% if version_info %} -
This instance is running version "{{ version_info['hash'] }}" from branch "{{ version_info['branch'] }}" of py-kms. +
This instance is running version "{{ version_info['hash'] }}" from Git "{{ version_info['reference'] }}" of py-kms. {% endif %}