aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/config.py')
-rw-r--r--fatcat_scholar/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/config.py b/fatcat_scholar/config.py
index 9a9d529..c66a3e5 100644
--- a/fatcat_scholar/config.py
+++ b/fatcat_scholar/config.py
@@ -1,4 +1,6 @@
+import subprocess
from dynaconf import Dynaconf
-
settings = Dynaconf(settings_file="settings.toml", environments=True,)
+
+GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip().decode('utf-8')