X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/bed92f8bdda5330d7e8571c3a4ff4184ab6d9d70..1b63df580fa50d1ac9a8e40432580c8afe8301fe:/librarian/parser.py?ds=inline diff --git a/librarian/parser.py b/librarian/parser.py index e4f1340..b312da8 100644 --- a/librarian/parser.py +++ b/librarian/parser.py @@ -5,7 +5,7 @@ # from librarian import ValidationError, NoDublinCore, ParseError, NoProvider from librarian import RDFNS -from librarian.cover import DefaultEbookCover +from librarian.cover import make_cover from librarian import dcparser from xml.parsers.expat import ExpatError @@ -207,7 +207,7 @@ class WLDocument(object): def as_cover(self, cover_class=None, *args, **kwargs): if cover_class is None: - cover_class = DefaultEbookCover + cover_class = make_cover return cover_class(self.book_info, *args, **kwargs).output_file() # for debugging only