X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/43b04b4146227070fc21b2f85bb7267e7fbc7d67..c48ff2d3e64065793c24cfb8ae151f02b8e6646a:/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 = ''