This commit is contained in:
Joe Abbate 2023-01-27 14:56:35 -05:00
parent 0f739ac8e4
commit 3e02eccba7

View file

@ -70,7 +70,7 @@ else:
config = os.path.join(app.config.get('ROOT_DIR', os.getcwd()), 'config.py')
app.config.from_pyfile(config)
app.config['GIT_REVISION'] = (
subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('utf-8').rstrip()
subprocess.check_output(['/usr/bin/git', 'rev-parse', '--short', 'HEAD']).decode('utf-8').rstrip()
)
# Sentry setup