Changeset 962:a0b8491a5a12 for src
- Timestamp:
- 05/14/19 18:02:09 (6 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/web.py
r930 r962 22 22 import xmlrpc.client 23 23 import html.parser 24 import certifi 24 25 25 26 #--------------------------------------------------------------------------------------- … … 1015 1016 (icao.upper(),) 1016 1017 1017 f = urllib.request.urlopen(url, timeout = 10.0 )1018 f = urllib.request.urlopen(url, timeout = 10.0, cafile=certifi.where()) 1018 1019 try: 1019 1020 data = f.read(16384) … … 1052 1053 ("mostRecentForEachStation", "constraint")]) 1053 1054 url += data 1054 f = urllib.request.urlopen(url, timeout = 10.0 )1055 f = urllib.request.urlopen(url, timeout = 10.0, cafile=certifi.where()) 1055 1056 try: 1056 1057 result = Result()
Note:
See TracChangeset
for help on using the changeset viewer.