X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12727dd036c3f54c487aaa70b21bf4988135bb7d..c7734daf3d6884c358f1644c1f8f7970453fafb1:/src/librarian/pdf.py?ds=sidebyside diff --git a/src/librarian/pdf.py b/src/librarian/pdf.py index 7b93997..b32395f 100644 --- a/src/librarian/pdf.py +++ b/src/librarian/pdf.py @@ -425,7 +425,7 @@ def load_including_children(wldoc=None, provider=None, uri=None): """ if uri and provider: - f = provider.by_uri(uri) + f = provider.by_slug(uri.slug) text = f.read().decode('utf-8') f.close() elif wldoc is not None: