summaryrefslogtreecommitdiff
path: root/scraper/s2-dump-missing-paper-ids.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-02-12 17:12:51 +0100
committerJules Laplace <julescarbon@gmail.com>2019-02-12 17:12:51 +0100
commitb1df7ef2090f1f3c9e0aeb49f5ffa6a33f4b8226 (patch)
treec51cb1e3affc3f7f92c382668abeb69b138dd16e /scraper/s2-dump-missing-paper-ids.py
parentad97fde0609be8bde8fdbc7283001f64f5133ddf (diff)
we want all raw papers now
Diffstat (limited to 'scraper/s2-dump-missing-paper-ids.py')
-rw-r--r--scraper/s2-dump-missing-paper-ids.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scraper/s2-dump-missing-paper-ids.py b/scraper/s2-dump-missing-paper-ids.py
index bf0b7e50..b30fe167 100644
--- a/scraper/s2-dump-missing-paper-ids.py
+++ b/scraper/s2-dump-missing-paper-ids.py
@@ -22,7 +22,8 @@ def load_missing_ids(fn):
for paper_id in ids:
db_paper_path = make_db_paper_path(paper_id)
raw_paper_path = make_raw_paper_path(paper_id)
- if os.path.exists(db_paper_path) or os.path.exists(raw_paper_path):
+ # if os.path.exists(db_paper_path) or os.path.exists(raw_paper_path):
+ if os.path.exists(raw_paper_path):
lookup[paper_id] = True
found_count += 1
else: