Small refactor in messaging.
[wolnelektury.git] / src / catalogue / management / commands / load_abstracts.py
index b828974..587f943 100644 (file)
@@ -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()