diff options
author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-30 19:40:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 19:40:00 -0400 |
commit | b26a257e09b9f4d8375806acb7ad143802b93603 (patch) | |
tree | 230fe76c093084c45105ec4c3b7a53f80b3eba86 /src/scraping/buxton/scraper.py | |
parent | 36ac0409b2a7a752727eaf2fc289d8cc72487619 (diff) | |
parent | 53b8bd7ff75ee500c999a4cbc87ed75e59ef1c21 (diff) |
Merge branch 'master' into toggle_claire
Diffstat (limited to 'src/scraping/buxton/scraper.py')
-rw-r--r-- | src/scraping/buxton/scraper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scraping/buxton/scraper.py b/src/scraping/buxton/scraper.py index 1ff0e3b31..f0f45d8f9 100644 --- a/src/scraping/buxton/scraper.py +++ b/src/scraping/buxton/scraper.py @@ -236,7 +236,7 @@ def parse_document(file_name: str): view_guids.append(write_image(pure_name, image)) copyfile(dir_path + "/" + image, dir_path + "/" + image.replace(".", "_o.", 1)) - os.rename(dir_path + "/" + image, dir_path + + copyfile(dir_path + "/" + image, dir_path + "/" + image.replace(".", "_m.", 1)) print(f"extracted {count} images...") |