From 274efc3ec73e2bcfee9cd93b26f737ee68fd4638 Mon Sep 17 00:00:00 2001 From: kosayoda Date: Fri, 14 May 2021 13:58:56 +0800 Subject: Merge branch main into dewikification --- pydis_site/constants.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pydis_site/constants.py') 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") -- cgit v1.2.3