diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-01-23 20:22:18 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-01-23 20:22:18 +0000 |
| commit | 575aeb3d18c9bca3541f34d35c7345a6521224e2 (patch) | |
| tree | 66e4d4e8b884f3e06c0e127cb8c9fd155175b099 /setup.py | |
| parent | Include cookies and add CiteSeerX timeout (diff) | |
| download | paper2remarkable-575aeb3d18c9bca3541f34d35c7345a6521224e2.tar.gz paper2remarkable-575aeb3d18c9bca3541f34d35c7345a6521224e2.zip | |
Reorder the input validation (fixes #21)
We used to assume that if a source is not a local file,
then it must be a URL. Now, we check if a source is a
URL and if not, also check if it's a local file. If neither,
then we can raise an error.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ REQUIRED = [ "unidecode>=1.1", "titlecase>=0.12", "PyPDF2>=1.26", + "regex>=2018.11" ] docs_require = [] |
