diff options
author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-30 19:41:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 19:41:00 -0400 |
commit | a2a73a1ad032979ea6eea06aa65354841e0ef0fa (patch) | |
tree | 00e38b12a22dcc52253e2d7c3e35efee42ad80cf /src/scraping/buxton/scraper.py | |
parent | c53d5fb0e5162cf27d6b5e5ed0ceb35f2461302e (diff) | |
parent | 80e6356692da7bffaad2efccf01500173c488de0 (diff) |
Merge branch 'master' into text_box_ab
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...") |