X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/fe8e5b5e224d32baebbdaa2fecf4a847ed4e5354..2919eb4f57c7e1c9dead734c685a9b36f34e30ce:/librarian/parser.py diff --git a/librarian/parser.py b/librarian/parser.py index b2ad98a..f02b64c 100644 --- a/librarian/parser.py +++ b/librarian/parser.py @@ -5,7 +5,6 @@ # from librarian import ValidationError, NoDublinCore, ParseError, NoProvider from librarian import RDFNS, IOFile -from librarian.styles.wolnelektury.cover import WLCover from librarian import dcparser from xml.parsers.expat import ExpatError @@ -218,6 +217,7 @@ class WLDocument(object): def as_cover(self, cover_class=None, *args, **kwargs): if cover_class is None: + from librarian.cover import WLCover cover_class = WLCover return cover_class(self.book_info, *args, **kwargs).output_file()