Changeset 977:68c0592b4915
- Timestamp:
- 05/26/19 05:54:07 (6 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/update.py
r958 r977 12 12 import traceback 13 13 import io 14 import certifi 14 15 15 16 if os.name=="nt": … … 233 234 try: 234 235 updateManifest = Manifest() 235 reply = urllib.request.urlopen(updateURL + "/" + manifestName) 236 reply = urllib.request.urlopen(updateURL + "/" + manifestName, 237 cafile = certifi.where()) 236 238 charset = reply.headers.get_content_charset() 237 239 content = reply.read().decode("utf-8" if charset is None else charset) … … 368 370 369 371 with open(targetFile, "wb") as fout: 370 fin = urllib.request.urlopen(updateURL + "/" + path) 372 fin = urllib.request.urlopen(updateURL + "/" + path, 373 cafile = certifi.where()) 371 374 while True: 372 375 data = fin.read(256*1024)
Note:
See TracChangeset
for help on using the changeset viewer.