X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1fc6730667e7018f363771ab01584ffa716812de..eb6b8e8e497922011e8a89f1e1869d68ef8f7066:/src/librarian/parser.py?ds=inline diff --git a/src/librarian/parser.py b/src/librarian/parser.py index 5e2fb08..bea67b1 100644 --- a/src/librarian/parser.py +++ b/src/librarian/parser.py @@ -181,7 +181,7 @@ class WLDocument(object): for part_uri in self.book_info.parts: try: yield self.from_file( - self.provider.by_uri(part_uri), provider=self.provider + self.provider.by_slug(part_uri.slug), provider=self.provider ) except Exception as e: if pass_part_errors: