aboutsummaryrefslogtreecommitdiff
path: root/src/scraping/buxton/scraper.py
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2019-07-30 19:40:00 -0400
committerGitHub <noreply@github.com>2019-07-30 19:40:00 -0400
commitb26a257e09b9f4d8375806acb7ad143802b93603 (patch)
tree230fe76c093084c45105ec4c3b7a53f80b3eba86 /src/scraping/buxton/scraper.py
parent36ac0409b2a7a752727eaf2fc289d8cc72487619 (diff)
parent53b8bd7ff75ee500c999a4cbc87ed75e59ef1c21 (diff)
Merge branch 'master' into toggle_claire
Diffstat (limited to 'src/scraping/buxton/scraper.py')
-rw-r--r--src/scraping/buxton/scraper.py2
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...")