Changeset 2779


Ignore:
Timestamp:
08/08/07 10:06:13 (12 years ago)
Author:
domlowe
Message:

handling unicode from wcs request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/API/genSubset.py

    r2758 r2779  
    151151    #currently supporting domain subsetting only by CRS name  
    152152    #(but should be easy to extend later) 
    153     if type(timeSelection) is str: 
     153    if type(timeSelection) in [str,unicode]: 
    154154        times=(timeSelection,) 
    155155    else: 
    156156        times=timeSelection 
    157      
    158157    if len(times)==0: 
    159158        #no time specified, select all. 
Note: See TracChangeset for help on using the changeset viewer.