diff --git a/proxstar/__init__.py b/proxstar/__init__.py index cd52971..adf1fed 100644 --- a/proxstar/__init__.py +++ b/proxstar/__init__.py @@ -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