X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2cd5a971d3cf9708b43a523a339212cb9220cef3..9bfbdb0f7175d3902ed63bd33e53aadff4f44d88:/redakcja/context_processors.py diff --git a/redakcja/context_processors.py b/redakcja/context_processors.py index aec6df71..feba9e9f 100644 --- a/redakcja/context_processors.py +++ b/redakcja/context_processors.py @@ -1,4 +1,5 @@ -# -*- coding: utf-8 +# -*- coding: utf-8 -*- + def settings(request): from django.conf import settings @@ -7,7 +8,7 @@ def settings(request): import subprocess process = subprocess.Popen(["git", "show", "--oneline"], stdout=subprocess.PIPE) data, _err = process.communicate() - # get app version + # get app version VERSION = data.splitlines()[0].split()[0] else: VERSION = ''