X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a2f5e89d46881be85c38c664ffd30dcfe39ad512..fc0b706f8c7eb67531df0a2acd972412e47c7010:/src/catalogue/management/commands/load_abstracts.py diff --git a/src/catalogue/management/commands/load_abstracts.py b/src/catalogue/management/commands/load_abstracts.py index b828974a2..587f9436b 100644 --- a/src/catalogue/management/commands/load_abstracts.py +++ b/src/catalogue/management/commands/load_abstracts.py @@ -1,4 +1,3 @@ -# -*- 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. # @@ -10,6 +9,6 @@ from catalogue.models import Book class Command(BaseCommand): def handle(self, *args, **options): for b in Book.objects.order_by('slug'): - print b.slug + print(b.slug) b.load_abstract() b.save()