X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..a696802f47205416a28424d2bdab2b2bc8c4d920:/src/redakcja/context_processors.py?ds=inline diff --git a/src/redakcja/context_processors.py b/src/redakcja/context_processors.py index 5e3372ea..e750fd2a 100644 --- a/src/redakcja/context_processors.py +++ b/src/redakcja/context_processors.py @@ -1,5 +1,6 @@ -# -*- coding: utf-8 - +# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# 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 = ''