X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3af75386ed5c78b09c4669442a2422a388e949c3..45b3f39b2548169718f640227d3c09064cdfa9cb:/src/isbn/management/commands/export_onix.py diff --git a/src/isbn/management/commands/export_onix.py b/src/isbn/management/commands/export_onix.py index 19f3166f8..a78e882fa 100644 --- a/src/isbn/management/commands/export_onix.py +++ b/src/isbn/management/commands/export_onix.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals from django.core.management.base import BaseCommand from django.utils import timezone @@ -113,7 +111,7 @@ class Command(BaseCommand): for record in ONIXRecord.objects.all(): xml += self.render_product(record) xml += FOOTER - print xml.encode('utf-8') + print(xml) def render_product(self, record): if record.product_form_detail: