Ignore:
Timestamp:
21/09/09 09:54:33 (10 years ago)
Author:
pnorton
Message:

Made the user agent sniffing more specific so it dosen't trigger for IE 8. Also fixed the logging for non wms controllers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/controllers/coastwms.py

    r5734 r5742  
    242242        try: 
    243243            ua = request.headers['User-Agent'] 
     244            log.debug("ua = %s" % (ua,)) 
    244245        except: 
    245246            pass 
    246247        else: 
    247             if 'MSIE' in ua and 'MSIE 7' not in ua: 
     248            if 'MSIE 6.0' in ua: 
    248249                finalImg = finalImg.convert('RGB') 
    249250 
Note: See TracChangeset for help on using the changeset viewer.