aboutsummaryrefslogtreecommitdiff
path: root/src/scraping/buxton/scraper.py
diff options
context:
space:
mode:
authordash <stanley_yip@brown.edu>2019-07-30 17:03:27 -0400
committerdash <stanley_yip@brown.edu>2019-07-30 17:03:27 -0400
commit5ec18c73ec04d0f50cedb220518be9c58e62997c (patch)
treee7530d6301d752da51c41629bdb94be52c83bed3 /src/scraping/buxton/scraper.py
parent8ff901c58963aca8bbe5168d233e579c8aa0686c (diff)
parentfd4760cc038ce36eb1974318cb867f8c2476c363 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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...")