mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
fix another binary-mode issue
This commit is contained in:
parent
eb17d81316
commit
d4f49c05c5
2 changed files with 2 additions and 1 deletions
|
@ -275,7 +275,7 @@ def downloadLinkedPDFs(manifestList):
|
|||
sys.stdout.flush()
|
||||
response = urllib2.urlopen(link)
|
||||
|
||||
with open(f, 'w') as out:
|
||||
with open(f, 'wb') as out:
|
||||
out.write(response.read())
|
||||
|
||||
print 'done'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue