Ignore:
Timestamp:
05/30/25 17:37:04 (4 days ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Tags:
tip
Message:

context is used instead of cafile in urlopen()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r1176 r1191  
    3030from io import StringIO
    3131import lxml.html
    32 import certifi
    3332
    3433#-----------------------------------------------------------------------------
     
    38833882
    38843883            # Obtaining the xml
    3885             response = urllib.request.urlopen(link,
    3886                                               cafile = certifi.where())
     3884            response = urllib.request.urlopen(link, context = sslContext)
    38873885            content = etree.iterparse(response)
    38883886
Note: See TracChangeset for help on using the changeset viewer.