diff --git a/mayanmindee/worker.py b/mayanmindee/worker.py index babffd3..231776c 100644 --- a/mayanmindee/worker.py +++ b/mayanmindee/worker.py @@ -68,7 +68,7 @@ def load_document(m: Mayan, document_id) -> (dict, bytes): ) # Load document pdf - pdf_bytes = m.downloadfile(document["file_latest"]["url"] + "/download/") + pdf_bytes = m.downloadfile(document["file_latest"]["url"] + "download/") return document, pdf_bytes