X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c2e8051452fa55db096553cbe5ae622fc363d481..137adc006b783dc9444d051625ab4d59456840cd:/src/catalogue/models/source.py?ds=sidebyside diff --git a/src/catalogue/models/source.py b/src/catalogue/models/source.py index 08cac0cce..ee024e0e6 100644 --- a/src/catalogue/models/source.py +++ b/src/catalogue/models/source.py @@ -2,7 +2,7 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django.db import models -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ class Source(models.Model): @@ -25,7 +25,7 @@ class Source(models.Model): str(self.pk) old_self = type(self).objects.get(pk=self) except type(self).DoesNotExist: - old_name = u'' + old_name = '' old_netloc = self.netloc else: old_name = old_self.name