diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 13:57:09 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 13:57:09 -0800 |
commit | 0e344762101e9cb1f57a139c726fd50f2364ad51 (patch) | |
tree | 1c3e891000c224ba15a81d6d9e9a5f9f082696de /python/fatcat_web/web_config.py | |
parent | 35f3f55aac364373ba16191abdb3c0c585249245 (diff) | |
download | fatcat-0e344762101e9cb1f57a139c726fd50f2364ad51.tar.gz fatcat-0e344762101e9cb1f57a139c726fd50f2364ad51.zip |
decode GIT_REVISION earlier
Diffstat (limited to 'python/fatcat_web/web_config.py')
-rw-r--r-- | python/fatcat_web/web_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/web_config.py b/python/fatcat_web/web_config.py index 0ae43a3a..cbe519b0 100644 --- a/python/fatcat_web/web_config.py +++ b/python/fatcat_web/web_config.py @@ -16,7 +16,7 @@ import subprocess basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): - GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip() + GIT_REVISION = subprocess.check_output(["git", "describe", "--always"]).strip().decode('utf-8') # This is, effectively, the QA/PROD flag FATCAT_DOMAIN = os.environ.get("FATCAT_DOMAIN", default="qa.fatcat.wiki") |