Changeset 273 for etherws


Ignore:
Timestamp:
12/29/14 17:54:05 (10 years ago)
Author:
atzm
Message:

explicitly specify the cert_reqs for newer version of websocket-client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/etherws.py

    r272 r273  
    840840    def _optparse_client(self, opt): 
    841841        if opt.get('insecure'): 
    842             sslopt = {} 
     842            sslopt = {'cert_reqs': ssl.CERT_NONE} 
    843843        else: 
    844844            sslopt = {'cert_reqs': ssl.CERT_REQUIRED, 
Note: See TracChangeset for help on using the changeset viewer.