Compare commits
No commits in common. "master" and "v0.10.1" have entirely different histories.
|
|
@ -38,8 +38,8 @@ class PDFHandler(object):
|
||||||
if is_url(filepath):
|
if is_url(filepath):
|
||||||
filepath = download_url(filepath)
|
filepath = download_url(filepath)
|
||||||
self.filepath = filepath
|
self.filepath = filepath
|
||||||
# if not filepath.lower().endswith(".pdf"):
|
if not filepath.lower().endswith(".pdf"):
|
||||||
# raise NotImplementedError("File format not supported")
|
raise NotImplementedError("File format not supported")
|
||||||
|
|
||||||
if password is None:
|
if password is None:
|
||||||
self.password = ""
|
self.password = ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue