Changeset 169 for etherws/trunk


Ignore:
Timestamp:
06/28/12 23:12:21 (12 years ago)
Author:
atzm
Message:
  • fixed a bug in --insecure option
File:
1 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/etherws.py

    r168 r169  
    463463            lambda s: ssl.wrap_socket(s, cert_reqs=ssl.CERT_REQUIRED, 
    464464                                      ca_certs=args.cacerts) 
     465    else: 
     466        websocket._SSLSocketWrapper = \ 
     467            lambda s: ssl.wrap_socket(s) 
    465468 
    466469    if args.user and args.passwd is None: 
Note: See TracChangeset for help on using the changeset viewer.