File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 22from ._version import __version__
33
44import os
5- import subprocess
65from datetime import datetime
76
87from csh_ldap import CSHLDAP
2322
2423app .config ["SQLALCHEMY_TRACK_MODIFICATIONS" ] = False
2524
26- app .config ["GIT_REVISION" ] = subprocess .check_output (['git' ,
27- 'rev-parse' ,
28- '--short' ,
29- 'HEAD' ]).decode ('utf-8' ).rstrip ()
25+ app .config ["VERSION" ] = __version__
3026
3127db = SQLAlchemy (app )
3228migrate = Migrate (app , db )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ <h3>Evaluations underway:</h3>
3636 {% endif %}
3737
3838 < footer >
39- < a class ="footer-version " href ="https://github.com/ComputerScienceHouse/conditional/tree/{{config[ "GIT_REVISION "]}}"> Conditional ({{config["GIT_REVISION "]}})</ a >
39+ < a class ="footer-version " href ="https://github.com/ComputerScienceHouse/conditional/tree/v {{config[ "VERSION "]}}"> Conditional (v {{config["VERSION "]}})</ a >
4040 </ footer >
4141 < script src ="/static/js/app.js "> </ script >
4242 </ body >
You can’t perform that action at this time.
0 commit comments