X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..14f2c24a604e36cad62ba9f6f8d71bf500f8e35a:/src/redakcja/context_processors.py 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 = ''