From 0581b34525a6f1f235e3a1bb44eecdd967c5260e Mon Sep 17 00:00:00 2001 From: "davide.borgonovo" Date: Fri, 18 Mar 2022 14:11:44 +0100 Subject: [PATCH] Tolto un controllo inutile sul nome che finisce con .pdf --- camelot/handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camelot/handlers.py b/camelot/handlers.py index 61585b6..b8e5363 100644 --- a/camelot/handlers.py +++ b/camelot/handlers.py @@ -38,8 +38,8 @@ class PDFHandler(object): if is_url(filepath): filepath = download_url(filepath) self.filepath = filepath - if not filepath.lower().endswith(".pdf"): - raise NotImplementedError("File format not supported") + # if not filepath.lower().endswith(".pdf"): + # raise NotImplementedError("File format not supported") if password is None: self.password = ""