diff options
author | 2021-05-14 13:58:56 +0800 | |
---|---|---|
committer | 2021-05-14 14:23:29 +0800 | |
commit | 274efc3ec73e2bcfee9cd93b26f737ee68fd4638 (patch) | |
tree | c74a0fb5cb80b605d21843b8bd424a192198dd8a /pydis_site/constants.py | |
parent | Merge pull request #485 from python-discord/ks129/dewikification/redirection (diff) |
Merge branch main into dewikification
Diffstat (limited to 'pydis_site/constants.py')
-rw-r--r-- | pydis_site/constants.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pydis_site/constants.py b/pydis_site/constants.py index 0b76694a..c7ab5db0 100644 --- a/pydis_site/constants.py +++ b/pydis_site/constants.py @@ -1,5 +1,3 @@ -import git +import os -# Git SHA -repo = git.Repo(search_parent_directories=True) -GIT_SHA = repo.head.object.hexsha +GIT_SHA = os.environ.get("GIT_SHA", "development") |