X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d0475d381f12b2c89c7c514c4f7f7d2ebc421d0a..22290f82670463d15f15f42cf1fe3ead76a6c08e:/librarian/pyhtml.py?ds=sidebyside diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index 4f8f98c..16a2141 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -659,7 +659,7 @@ class EduModuleFormat(Format): order = {pmf: i for (i, pmf) in enumerate(self.PRIMARY_MATERIAL_FORMATS)} mats = self.materials_by_slug.get(slug, {}).items() if not mats: - print "!! Material missing: '%s'" % slug + print ("!! Material missing: '%s'" % slug).encode('utf-8') return sorted(mats, key=lambda (x, y): order.get(x, x)) def url_for_material(self, slug, fmt):