Why do you do this to me

This commit is contained in:
Joe Abbate 2023-01-27 15:08:48 -05:00
parent 010fd629e6
commit 0dbd7235d7

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(['/usr/bin/git', 'rev-parse', '--short', 'HEAD']).decode('utf-8').rstrip()
subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('utf-8').rstrip()
)
# Sentry setup