X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a2f5e89d46881be85c38c664ffd30dcfe39ad512..b89ddf83530285bc57f8c176089cbb769ffe953b:/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()