X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/875efc3090b43807d41438a98f3e84ceafecab51..48a6d2ddc3e5ce215beddd6369f01598651ad216:/src/push/forms.py?ds=sidebyside diff --git a/src/push/forms.py b/src/push/forms.py index f3c832b9d..4d8410c0d 100644 --- a/src/push/forms.py +++ b/src/push/forms.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django import forms from django.contrib.sites.models import Site @@ -17,7 +16,7 @@ class NotificationForm(forms.ModelForm): def save(self, commit=True): notification = super(NotificationForm, self).save(commit=commit) - wl_base = u'https://' + Site.objects.get_current().domain + wl_base = 'https://' + Site.objects.get_current().domain if notification.image: image_url = wl_base + notification.image.url else: