diff options
| author | adamhrv <adam@ahprojects.com> | 2019-02-13 00:14:05 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-02-13 00:14:05 +0100 |
| commit | 6b3923624f352b13633e83ac18ac2f7fd74be34a (patch) | |
| tree | e5b049f98fef94b5e139446176f46b39dde5dbce /scraper/s2-dump-missing-paper-ids.py | |
| parent | 83f6165507de08578422cc67356cc4622380a825 (diff) | |
| parent | b1df7ef2090f1f3c9e0aeb49f5ffa6a33f4b8226 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'scraper/s2-dump-missing-paper-ids.py')
| -rw-r--r-- | scraper/s2-dump-missing-paper-ids.py | 3 |
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: |
